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.001143/0.001143, 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.001409/0.001409, allocations: 141.1 kB / 24.54 MB, free: 36 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.9698/0.9698, 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.363e-06/1.363e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.705e-05, allocations: 10.19 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001974/0.001991, allocations: 1.647 MB / 269.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006996/0.00269, allocations: 0.5568 MB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.002771, allocations: 3.938 kB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.808e-05/0.002819, allocations: 7.875 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.003047, allocations: 35.78 kB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.003222, allocations: 67.73 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.003326, allocations: 75.77 kB / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.003418, allocations: 16.22 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.003503, allocations: 43.89 kB / 270.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.003554, allocations: 23.91 kB / 270.5 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.003575, allocations: 8 kB / 270.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.003587, allocations: 4 kB / 270.5 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.003635, allocations: 23.91 kB / 270.5 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.00367, allocations: 19.92 kB / 270.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003787, allocations: 59.75 kB / 270.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.00379, allocations: 7.984 kB / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003791, allocations: 0 / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003795, allocations: 3.938 kB / 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.0004195/0.004214, allocations: 436.2 kB / 271 MB, free: 3.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.004249, allocations: 8.031 kB / 271 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.004292, allocations: 16.89 kB / 271.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.004454, allocations: 160.3 kB / 271.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.004473, allocations: 8.375 kB / 271.2 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.004488, allocations: 8.375 kB / 271.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.004799, allocations: 211.4 kB / 271.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004807, allocations: 192 / 271.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.004817, allocations: 384 / 271.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.004826, allocations: 11.94 kB / 271.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.004879, allocations: 27.91 kB / 271.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.005136, allocations: 283.1 kB / 271.8 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.005229, allocations: 105.3 kB / 271.9 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.005282, allocations: 47.06 kB / 271.9 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.005306, allocations: 3.984 kB / 271.9 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.00533, allocations: 41.33 kB / 271.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.005331, allocations: 0 / 271.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002102/0.005541, allocations: 114 kB / 272.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.005611, allocations: 114.8 kB / 272.2 MB, free: 2.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.005713, allocations: 197.9 kB / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.005739, allocations: 25.7 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.005782, allocations: 138.9 kB / 272.5 MB, free: 1.621 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.0058, allocations: 11.92 kB / 272.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.005829, allocations: 27.33 kB / 272.6 MB, free: 1.574 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.005956, allocations: 0.4923 MB / 273.1 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.005972, allocations: 4.062 kB / 273.1 MB, free: 1.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.006001, allocations: 46.75 kB / 273.1 MB, free: 1.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.006049, allocations: 58.8 kB / 273.2 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006051, allocations: 0 / 273.2 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.242e-05/0.006124, allocations: 73.52 kB / 273.2 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006136, allocations: 7.938 kB / 273.2 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.006141, allocations: 4 kB / 273.2 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.006155, allocations: 0 / 273.2 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.006222, allocations: 12.11 kB / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.006227, allocations: 4 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.006249, allocations: 7.938 kB / 273.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.006254, allocations: 4 kB / 273.3 MB, free: 0.8125 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.447e-05/0.006319, allocations: 160.6 kB / 273.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.006406, allocations: 89.5 kB / 273.5 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.006439, allocations: 16.47 kB / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006441, allocations: 0 / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.006445, allocations: 4 kB / 273.5 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006448, allocations: 3.938 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.006606, allocations: 140.5 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006607, allocations: 4 kB / 273.7 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.006664, allocations: 23.92 kB / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.006666, allocations: 0 / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.006675, allocations: 3.938 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006676, allocations: 4 kB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006677, allocations: 0 / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.006814, allocations: 255.2 kB / 274 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.006841, allocations: 15.94 kB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.006859, allocations: 12.06 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.006902, allocations: 8 kB / 274 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.006939, allocations: 4.109 kB / 274 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.006946, allocations: 15.92 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.838e-05/0.006995, allocations: 142.3 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006995, allocations: 3.828 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.007145, allocations: 16 kB / 274.2 MB, free: 15.83 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.239e-05/0.007208, allocations: 99.19 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.596e-05/0.007304, allocations: 47.59 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007305, allocations: 0 / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.007317, allocations: 11.94 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.00758, allocations: 47.67 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.008112, allocations: 249.7 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.008151, allocations: 71.28 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.008173, allocations: 8.719 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.008207, allocations: 12.5 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008208, allocations: 0 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Templates: time 0.00255/0.01076, allocations: 0.9983 MB / 275.7 MB, free: 14.24 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.864516204688698]