Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.54e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.005462/0.005497, allocations: 1.611 MB / 268.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.007692, allocations: 0.5411 MB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.007804, allocations: 3.938 kB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.007892, allocations: 7.922 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.008281, allocations: 35.72 kB / 269.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.008778, allocations: 67.73 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.009011, allocations: 75.78 kB / 269.7 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.009142, allocations: 12.2 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.009336, allocations: 47.84 kB / 269.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.009448, allocations: 31.89 kB / 269.8 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.00948, allocations: 4 kB / 269.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.009502, allocations: 4 kB / 269.8 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.009582, allocations: 23.91 kB / 269.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.009654, allocations: 19.94 kB / 269.8 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.009901, allocations: 83.67 kB / 269.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.009905, allocations: 0 / 269.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.009906, allocations: 7.938 kB / 269.9 MB, free: 4.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.009912, allocations: 0 / 269.9 MB, free: 4.125 MB / 250.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.0009407/0.01085, allocations: 333.9 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.0109, allocations: 8.031 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/0.01099, allocations: 12.89 kB / 270.2 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.01139, allocations: 149.5 kB / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.01142, allocations: 8.375 kB / 270.4 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.01144, allocations: 12.38 kB / 270.4 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/0.01226, allocations: 222.2 kB / 270.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01227, allocations: 192 / 270.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.01229, allocations: 384 / 270.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.0123, allocations: 3.938 kB / 270.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.01258, allocations: 59.89 kB / 270.7 MB, free: 3.258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.01305, allocations: 218.3 kB / 270.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.01339, allocations: 103.9 kB / 271 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.0136, allocations: 46.62 kB / 271.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.01364, allocations: 4 kB / 271.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/0.01371, allocations: 46.44 kB / 271.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.01371, allocations: 0 / 271.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007429/0.01446, allocations: 149.5 kB / 271.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.0146, allocations: 118.8 kB / 271.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.01482, allocations: 141.8 kB / 271.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.01485, allocations: 29.7 kB / 271.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.01494, allocations: 88.14 kB / 271.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.01498, allocations: 15.92 kB / 271.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.01505, allocations: 21.67 kB / 271.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002675/0.01532, allocations: 322.8 kB / 272 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.01541, allocations: 12 kB / 272 MB, free: 1.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.01551, allocations: 39.55 kB / 272 MB, free: 1.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.0157, allocations: 55.36 kB / 272.1 MB, free: 1.703 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.0157, allocations: 0 / 272.1 MB, free: 1.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002961/0.016, allocations: 86.11 kB / 272.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.01602, allocations: 10.59 kB / 272.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.01603, allocations: 8.125 kB / 272.2 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01605, allocations: 0 / 272.2 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01617, allocations: 15.92 kB / 272.2 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01618, allocations: 0 / 272.2 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.01626, allocations: 11.95 kB / 272.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01627, allocations: 4 kB / 272.2 MB, free: 1.566 MB / 250.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 0.0001574/0.01643, allocations: 125.8 kB / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.01675, allocations: 105.5 kB / 272.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.01681, allocations: 12.47 kB / 272.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.01682, allocations: 3.984 kB / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01682, allocations: 7.938 kB / 272.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.01683, allocations: 4 kB / 272.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.01709, allocations: 121.2 kB / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01709, allocations: 0 / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.01726, allocations: 23.97 kB / 272.6 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01726, allocations: 0 / 272.6 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.01728, allocations: 7.938 kB / 272.6 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01728, allocations: 4 kB / 272.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01728, allocations: 3.938 kB / 272.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.01773, allocations: 225.1 kB / 272.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.01781, allocations: 23.94 kB / 272.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.01784, allocations: 7.938 kB / 272.9 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.01799, allocations: 7.984 kB / 272.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.01803, allocations: 4 kB / 272.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.01804, allocations: 3.984 kB / 272.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.01818, allocations: 114.3 kB / 273 MB, free: 0.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01818, allocations: 0 / 273 MB, free: 0.707 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000412/0.01859, allocations: 12 kB / 273 MB, free: 0.6953 MB / 250.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.0001556/0.01875, allocations: 111.2 kB / 273.1 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.01902, allocations: 56.02 kB / 273.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01902, allocations: 0 / 273.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.01908, allocations: 12 kB / 273.2 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.01973, allocations: 68.03 kB / 273.3 MB, free: 456 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.02061, allocations: 258.3 kB / 273.5 MB, free: 160 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.02081, allocations: 96.58 kB / 273.6 MB, free: 44 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.02086, allocations: 8.719 kB / 273.6 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.02091, allocations: 12.5 kB / 273.6 MB, free: 24 kB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02091, allocations: 0 / 273.6 MB, free: 24 kB / 250.7 MB Notification: Performance of Templates: time 0.0043/0.02521, allocations: 0.9841 MB / 274.6 MB, free: 15.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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: 4.316148835001513]