Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 209.4 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 377.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2728, allocations: 53.37 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002816/0.2756, allocations: 1.523 MB / 432.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.2765, allocations: 0.5026 MB / 433.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.2766, allocations: 3.938 kB / 433.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.2766, allocations: 3.938 kB / 433.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2768, allocations: 19.86 kB / 433.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.277, allocations: 39.89 kB / 433.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.2771, allocations: 71.66 kB / 433.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.2772, allocations: 8.172 kB / 433.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.2774, allocations: 43.84 kB / 433.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.2774, allocations: 35.84 kB / 433.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.2775, allocations: 4 kB / 433.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.2775, allocations: 8 kB / 433.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.2775, allocations: 11.97 kB / 433.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.2776, allocations: 39.73 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2777, allocations: 59.59 kB / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2777, allocations: 0 / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.2777, allocations: 4 kB / 433.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2777, allocations: 0 / 433.5 MB, free: 4.477 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006529/0.2784, allocations: 318.5 kB / 433.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2784, allocations: 12.03 kB / 433.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.2785, allocations: 30.75 kB / 433.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.2788, allocations: 36.86 kB / 433.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.279, allocations: 126.4 kB / 434 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.279, allocations: 384 / 434 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.279, allocations: 384 / 434 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.2793, allocations: 88.16 kB / 434.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2793, allocations: 4 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2793, allocations: 4 kB / 434.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2793, allocations: 0 / 434.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.2795, allocations: 59.88 kB / 434.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.2797, allocations: 166.5 kB / 434.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.28, allocations: 99.73 kB / 434.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.2801, allocations: 50.61 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2802, allocations: 7.922 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.2802, allocations: 38.5 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2802, allocations: 0 / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005179/0.2807, allocations: 141.7 kB / 434.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.2808, allocations: 106.8 kB / 434.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2809, allocations: 132.5 kB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2809, allocations: 25.7 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.281, allocations: 88.14 kB / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.281, allocations: 15.89 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.281, allocations: 21.91 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2812, allocations: 318.8 kB / 435.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2813, allocations: 31.97 kB / 435.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2814, allocations: 50.42 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.2817, allocations: 86.52 kB / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2817, allocations: 0 / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003166/0.282, allocations: 113.5 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2821, allocations: 8 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2821, allocations: 0 / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2821, allocations: 0 / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2822, allocations: 23.91 kB / 435.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2822, allocations: 0 / 435.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.2823, allocations: 11.98 kB / 435.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2823, allocations: 8.125 kB / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.941e-05/0.2824, allocations: 117.8 kB / 435.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.2825, allocations: 19.86 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.2825, allocations: 11.92 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.2825, allocations: 0 / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2825, allocations: 4 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2825, allocations: 0 / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.2827, allocations: 152.7 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2827, allocations: 4 kB / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2828, allocations: 23.97 kB / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2828, allocations: 0 / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2828, allocations: 4 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2828, allocations: 0 / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2828, allocations: 3.938 kB / 436 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.2832, allocations: 146.7 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.2832, allocations: 15.89 kB / 436.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2832, allocations: 8 kB / 436.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.2833, allocations: 7.984 kB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.2833, allocations: 7.984 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.2833, allocations: 0 / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.07e-05/0.2834, allocations: 110.4 kB / 436.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2834, allocations: 0 / 436.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000201/0.2836, allocations: 8 kB / 436.3 MB, free: 1.332 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006429/0.2843, allocations: 0.6764 MB / 437 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.2846, allocations: 71.88 kB / 437.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2846, allocations: 0 / 437.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2847, allocations: 52.02 kB / 437.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.2849, allocations: 4 kB / 437.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.287, allocations: 1.452 MB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2873, allocations: 0.6846 MB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.2873, allocations: 4 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.2874, allocations: 23.42 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2874, allocations: 0 / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.3157, allocations: 1.883 MB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.06, allocations: 7.719 kB / 441.2 MB, free: 12.45 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.83969901999808]