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.0008161/0.0008161, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007993/0.0007993, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8983/0.8983, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.575e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001895/0.001911, allocations: 1.635 MB / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.002695, allocations: 0.5958 MB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.002773, allocations: 7.938 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.002814, allocations: 7.938 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.003062, allocations: 23.8 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.00329, allocations: 91.64 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003396, allocations: 71.72 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.003484, allocations: 19.97 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.003606, allocations: 55.83 kB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.003655, allocations: 23.91 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.003671, allocations: 4 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.003707, allocations: 8 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.003754, allocations: 27.91 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.003789, allocations: 23.92 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003928, allocations: 87.67 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00393, allocations: 4 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003931, allocations: 0 / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003935, allocations: 0 / 327.3 MB, free: 13.23 MB / 298.7 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.0004057/0.004341, allocations: 329.8 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.004375, allocations: 12.03 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.004403, allocations: 34.75 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.004492, allocations: 24.83 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.004667, allocations: 158.1 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.004684, allocations: 4.375 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004696, allocations: 8.375 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.005022, allocations: 226 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.005031, allocations: 0 / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005042, allocations: 4 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.005047, allocations: 4 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.005152, allocations: 51.89 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.005401, allocations: 257.6 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.005511, allocations: 91.95 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.005576, allocations: 58.55 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.005595, allocations: 4 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.005613, allocations: 38.56 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.005614, allocations: 3.938 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002581/0.005872, allocations: 145.5 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.00593, allocations: 114.8 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.00602, allocations: 152.8 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.006032, allocations: 25.7 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.006068, allocations: 88.14 kB / 329.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.006085, allocations: 19.97 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.006115, allocations: 25.7 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.006188, allocations: 318.8 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.006215, allocations: 11.98 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.006248, allocations: 43.42 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.006311, allocations: 55.36 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006313, allocations: 4 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.71e-05/0.0064, allocations: 82.06 kB / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006411, allocations: 8 kB / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.006415, allocations: 0 / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.006425, allocations: 3.938 kB / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.006478, allocations: 11.98 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.006485, allocations: 8.156 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.006508, allocations: 4 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.006513, allocations: 8.125 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (7): * Single equations (assignments): 7 * 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 7.033e-05/0.006583, allocations: 129.8 kB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.006687, allocations: 101.5 kB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.006713, allocations: 12.47 kB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.006716, allocations: 4 kB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006719, allocations: 0 / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.006723, allocations: 3.984 kB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.006842, allocations: 152.7 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006843, allocations: 0 / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.006896, allocations: 19.98 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.006898, allocations: 7.938 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.006907, allocations: 4 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.006908, allocations: 3.938 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006909, allocations: 0 / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.007078, allocations: 225.1 kB / 330.3 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.007114, allocations: 23.88 kB / 330.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.007131, allocations: 8 kB / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.007175, allocations: 4 kB / 330.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.007201, allocations: 3.984 kB / 330.3 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.007206, allocations: 4 kB / 330.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.007256, allocations: 123.2 kB / 330.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007256, allocations: 0 / 330.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.007411, allocations: 8 kB / 330.5 MB, free: 9.664 MB / 298.7 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.0004318/0.007843, allocations: 0.8076 MB / 331.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.007965, allocations: 60.08 kB / 331.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007967, allocations: 0 / 331.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.007987, allocations: 16.17 kB / 331.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.008274, allocations: 58.48 kB / 331.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.009371, allocations: 1.52 MB / 332.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.571e-05/0.009436, allocations: 92.3 kB / 333 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.009465, allocations: 12.5 kB / 333 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.009514, allocations: 28.48 kB / 333.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009515, allocations: 0 / 333.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.02893, allocations: 2.91 MB / 336 MB, free: 4.137 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/6.904, allocations: 10.88 kB / 336 MB, free: 4.129 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/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: 8.691441299393773]