Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008192/0.0008192, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008668/0.0008668, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8591/0.8591, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.465e-05, allocations: 7.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002595/0.00261, allocations: 1.629 MB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003611, allocations: 0.592 MB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.003697, allocations: 7.938 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.003745, allocations: 7.875 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.004011, allocations: 31.78 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.004319, allocations: 83.59 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004462, allocations: 79.7 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.004557, allocations: 15.98 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.004721, allocations: 47.89 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.004783, allocations: 23.91 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.004806, allocations: 8 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.582e-05/0.004852, allocations: 15.98 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.004902, allocations: 15.92 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.004946, allocations: 23.92 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.005121, allocations: 87.62 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.005125, allocations: 3.984 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005126, allocations: 0 / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00513, allocations: 4 kB / 327.2 MB, free: 13.19 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.0005186/0.005648, allocations: 337.8 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.005687, allocations: 11.98 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.00573, allocations: 42.73 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.005861, allocations: 20.83 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.006089, allocations: 146.2 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.006112, allocations: 8.312 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.006128, allocations: 16.38 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.006583, allocations: 227.9 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.006594, allocations: 4 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.006604, allocations: 0 / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.006609, allocations: 0 / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.006754, allocations: 55.95 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.007086, allocations: 261.6 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.007255, allocations: 91.77 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.007354, allocations: 54.73 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.007378, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.007405, allocations: 38.56 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.007407, allocations: 0 / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003728/0.00778, allocations: 149.5 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.007852, allocations: 114.8 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.007956, allocations: 144.8 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.007968, allocations: 29.7 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.008005, allocations: 92.12 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.008021, allocations: 19.84 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.008054, allocations: 17.72 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.008133, allocations: 326.8 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.008165, allocations: 15.97 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.008202, allocations: 43.55 kB / 329.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.264e-05/0.008264, allocations: 51.36 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008266, allocations: 0 / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.451e-05/0.008361, allocations: 89.5 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.008374, allocations: 8.125 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.008378, allocations: 4 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.008389, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.008444, allocations: 12 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.00845, allocations: 3.984 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.008474, allocations: 7.938 kB / 329.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.00848, allocations: 4 kB / 329.6 MB, free: 10.52 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 6.463e-05/0.008545, allocations: 125.8 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.008649, allocations: 105.5 kB / 329.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.008675, allocations: 16.47 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.008677, allocations: 0 / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.008681, allocations: 4 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008684, allocations: 4.625 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.008802, allocations: 148.7 kB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008803, allocations: 0 / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.008858, allocations: 23.92 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.008862, allocations: 15.92 kB / 330 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.00887, allocations: 0 / 330 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008871, allocations: 0 / 330 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008872, allocations: 4.156 kB / 330 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.009032, allocations: 221.1 kB / 330.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.009067, allocations: 31.83 kB / 330.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.009082, allocations: 4 kB / 330.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.009129, allocations: 7.938 kB / 330.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.009151, allocations: 4 kB / 330.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.009157, allocations: 3.984 kB / 330.3 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.009207, allocations: 119.2 kB / 330.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009207, allocations: 0 / 330.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.009371, allocations: 12 kB / 330.4 MB, free: 9.609 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.0004141/0.009785, allocations: 0.8038 MB / 331.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.009912, allocations: 63.89 kB / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009914, allocations: 0 / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.009932, allocations: 7.984 kB / 331.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.01022, allocations: 55.92 kB / 331.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.01124, allocations: 1.523 MB / 332.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.0113, allocations: 88.31 kB / 333 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.01133, allocations: 8.484 kB / 333 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.01137, allocations: 28.48 kB / 333 MB, free: 6.871 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01137, allocations: 0 / 333 MB, free: 6.871 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.02611, allocations: 2.912 MB / 335.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/6.62, allocations: 3.938 kB / 335.9 MB, free: 4.066 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.csv. Warning: Get data of variable superSampleIpo.y from file Modelica_trunk_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.364334426820278]