Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002272/0.002272, allocations: 211.9 kB / 23.73 MB, free: 4.387 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 47.92 kB / 377.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2558, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003182/0.259, allocations: 1.616 MB / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2603, allocations: 0.5882 MB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.2604, allocations: 7.938 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/0.2605, allocations: 7.875 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.2608, allocations: 35.78 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.2611, allocations: 79.42 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.2613, allocations: 79.77 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2614, allocations: 15.98 kB / 433.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.2616, allocations: 43.78 kB / 433.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.2616, allocations: 27.84 kB / 433.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.2617, allocations: 8 kB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.891e-05/0.2617, allocations: 15.94 kB / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.2618, allocations: 19.91 kB / 433.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.2618, allocations: 31.8 kB / 433.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.262, allocations: 91.94 kB / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.262, allocations: 0 / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.262, allocations: 0 / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.262, allocations: 0 / 433.8 MB, free: 3.969 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005845/0.2626, allocations: 337.9 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2626, allocations: 8.031 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.2627, allocations: 42.69 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.2628, allocations: 28.83 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.2631, allocations: 149.3 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2632, allocations: 4.375 kB / 434.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.2632, allocations: 15.94 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.2637, allocations: 209.8 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2637, allocations: 3.984 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2637, allocations: 4 kB / 434.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2637, allocations: 3.938 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.2639, allocations: 51.95 kB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.2642, allocations: 261.5 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.2644, allocations: 95.77 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.2646, allocations: 54.73 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.2646, allocations: 0 / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.2646, allocations: 34.56 kB / 435 MB, free: 2.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.51e-07/0.2646, allocations: 0 / 435 MB, free: 2.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004647/0.2651, allocations: 149.5 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2652, allocations: 118.8 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.2654, allocations: 148.5 kB / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2654, allocations: 33.7 kB / 435.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.2654, allocations: 92.12 kB / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.2655, allocations: 23.83 kB / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.2655, allocations: 25.72 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2657, allocations: 322.8 kB / 435.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.2657, allocations: 19.98 kB / 435.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2658, allocations: 85.56 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.266, allocations: 121.2 kB / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.266, allocations: 8 kB / 436.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002361/0.2663, allocations: 125.9 kB / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2663, allocations: 7.984 kB / 436.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2663, allocations: 7.938 kB / 436.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2663, allocations: 4.344 kB / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2664, allocations: 23.98 kB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2664, allocations: 8 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.2665, allocations: 15.89 kB / 436.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2665, allocations: 11.94 kB / 436.4 MB, free: 1.055 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001232/0.2666, allocations: 136.2 kB / 436.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.2668, allocations: 97.56 kB / 436.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.2669, allocations: 12.41 kB / 436.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2669, allocations: 4 kB / 436.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2669, allocations: 0 / 436.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2669, allocations: 3.938 kB / 436.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.2671, allocations: 156.7 kB / 436.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2671, allocations: 0 / 436.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.2672, allocations: 19.98 kB / 436.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2672, allocations: 4 kB / 436.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2672, allocations: 4 kB / 436.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2672, allocations: 0 / 436.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.2672, allocations: 7.938 kB / 436.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.2675, allocations: 225 kB / 437 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.2676, allocations: 23.88 kB / 437 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2676, allocations: 8 kB / 437 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.2677, allocations: 4 kB / 437 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.2677, allocations: 7.922 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.2677, allocations: 4 kB / 437.1 MB, free: 276 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.52e-05/0.2678, allocations: 115.2 kB / 437.2 MB, free: 160 kB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2678, allocations: 0 / 437.2 MB, free: 160 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.2681, allocations: 19.95 kB / 437.2 MB, free: 140 kB / 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007753/0.2689, allocations: 0.8038 MB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.2691, allocations: 80 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2691, allocations: 0 / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.506e-05/0.2692, allocations: 4 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.2696, allocations: 76.94 kB / 438.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.2715, allocations: 1.67 MB / 439.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.2716, allocations: 100.1 kB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.2716, allocations: 8.484 kB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.2717, allocations: 31.42 kB / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2717, allocations: 0 / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3008, allocations: 2.838 MB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.39, allocations: 7.109 kB / 442.8 MB, free: 10.47 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.1957e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable superSampleIpo.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSampleIpo.y Variables in the result:time,previous(superSampleIpo.uu),sample1.y,sine.y,superSampleIpo.u,superSampleIpo.uu [Calling sys.exit(0), Time elapsed: 13.943354879040271]