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.00102/0.00102, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001199/0.001199, allocations: 141.1 kB / 24.54 MB, free: 40 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 0.978/0.978, allocations: 173.4 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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 1.342e-06/1.342e-06, allocations: 3.938 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.897e-05, allocations: 6.25 kB / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001857/0.001876, allocations: 1.646 MB / 269.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007036/0.00258, allocations: 0.5568 MB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.002658, allocations: 7.938 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.625e-05/0.002704, allocations: 7.875 kB / 270.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.002935, allocations: 35.78 kB / 270.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.003118, allocations: 67.67 kB / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003223, allocations: 75.77 kB / 270.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.003311, allocations: 12.22 kB / 270.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.003397, allocations: 39.91 kB / 270.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.003452, allocations: 31.89 kB / 270.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.003474, allocations: 4 kB / 270.5 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.003488, allocations: 4 kB / 270.5 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.003539, allocations: 23.92 kB / 270.5 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.003577, allocations: 27.84 kB / 270.5 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.00369, allocations: 55.81 kB / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.003695, allocations: 4 kB / 270.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003695, allocations: 0 / 270.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003699, allocations: 0 / 270.6 MB, free: 3.785 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.0004375/0.004136, allocations: 440.1 kB / 271 MB, free: 3.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.004177, allocations: 12.03 kB / 271 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.004221, allocations: 16.89 kB / 271.1 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.004387, allocations: 152.3 kB / 271.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.004406, allocations: 12.38 kB / 271.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.004418, allocations: 4.375 kB / 271.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.004718, allocations: 216.1 kB / 271.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004725, allocations: 192 / 271.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.004735, allocations: 384 / 271.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.004742, allocations: 7.938 kB / 271.4 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.004791, allocations: 27.92 kB / 271.5 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.005036, allocations: 283.2 kB / 271.7 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.564e-05/0.005122, allocations: 101.2 kB / 271.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.005171, allocations: 47.17 kB / 271.9 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.00519, allocations: 4 kB / 271.9 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.005211, allocations: 45.33 kB / 271.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.005212, allocations: 3.938 kB / 271.9 MB, free: 2.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002012/0.005414, allocations: 105.9 kB / 272 MB, free: 2.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.005477, allocations: 122.9 kB / 272.2 MB, free: 1.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.005576, allocations: 193.9 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.00559, allocations: 33.7 kB / 272.4 MB, free: 1.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.005631, allocations: 130.9 kB / 272.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.005649, allocations: 7.953 kB / 272.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.005689, allocations: 35.31 kB / 272.6 MB, free: 1.566 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.005808, allocations: 496.1 kB / 273 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.005827, allocations: 8.047 kB / 273.1 MB, free: 1.062 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.00586, allocations: 46.73 kB / 273.1 MB, free: 1 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.005912, allocations: 58.67 kB / 273.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005914, allocations: 0 / 273.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.244e-05/0.005987, allocations: 77.52 kB / 273.2 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.005999, allocations: 7.938 kB / 273.2 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006003, allocations: 0 / 273.2 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006016, allocations: 4 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.006083, allocations: 8 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.006087, allocations: 4.125 kB / 273.3 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.006111, allocations: 11.92 kB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.006116, allocations: 0 / 273.3 MB, free: 0.8086 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 6.672e-05/0.006182, allocations: 160.6 kB / 273.4 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.006262, allocations: 89.52 kB / 273.5 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.006292, allocations: 16.45 kB / 273.5 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.006295, allocations: 4 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006298, allocations: 0 / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.006301, allocations: 0 / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/0.0064, allocations: 136.6 kB / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.006402, allocations: 4 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.006454, allocations: 23.92 kB / 273.7 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006456, allocations: 7.938 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.006466, allocations: 3.938 kB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006467, allocations: 0 / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.006468, allocations: 4 kB / 273.7 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.006603, allocations: 255.2 kB / 274 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.006634, allocations: 19.94 kB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.00665, allocations: 8.047 kB / 274 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.0067, allocations: 8.078 kB / 274 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.006729, allocations: 11.94 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.006733, allocations: 4 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.8e-05/0.006781, allocations: 150.2 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006781, allocations: 0 / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.006927, allocations: 12 kB / 274.2 MB, free: 15.82 MB / 266.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 6.151e-05/0.006988, allocations: 103.2 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.007087, allocations: 51.55 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007088, allocations: 0 / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.007101, allocations: 11.67 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.007363, allocations: 51.92 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.007872, allocations: 253 kB / 274.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.00791, allocations: 67.34 kB / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.00793, allocations: 0.7344 kB / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.007961, allocations: 20.48 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007962, allocations: 0 / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Templates: time 0.002474/0.01044, allocations: 1.025 MB / 275.7 MB, free: 14.2 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6856774888001382]