Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001883/0.001883, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.001914/0.001914, allocations: 145.1 kB / 24.26 MB, free: 172 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.613/1.613, allocations: 173.4 MB / 200.8 MB, free: 9.324 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.107e-05, allocations: 6.25 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003114/0.003146, allocations: 1.564 MB / 268.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004365, allocations: 494.4 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.004497, allocations: 15.88 kB / 269.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.432e-05/0.004572, allocations: 7.922 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.004745, allocations: 7.922 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.005102, allocations: 51.77 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.005256, allocations: 43.84 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.005385, allocations: 15.94 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.005508, allocations: 35.84 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.005575, allocations: 11.92 kB / 269.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.005603, allocations: 4 kB / 269.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.005621, allocations: 4 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.005694, allocations: 19.92 kB / 269.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.005731, allocations: 11.98 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.005913, allocations: 55.8 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005917, allocations: 0 / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005918, allocations: 0 / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.005926, allocations: 0 / 269.6 MB, free: 4.406 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000767/0.006693, allocations: 403.9 kB / 270 MB, free: 3.977 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.006744, allocations: 8.922 kB / 270 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.006812, allocations: 16.89 kB / 270 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.007097, allocations: 140.5 kB / 270.2 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.007112, allocations: 4.375 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.007124, allocations: 384 / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.007487, allocations: 124.9 kB / 270.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.007499, allocations: 192 / 270.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.00751, allocations: 384 / 270.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.007522, allocations: 3.938 kB / 270.3 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.447e-05/0.007596, allocations: 19.92 kB / 270.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.00802, allocations: 275.5 kB / 270.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.008157, allocations: 62.12 kB / 270.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.008221, allocations: 31.42 kB / 270.7 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.00825, allocations: 0 / 270.7 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.008294, allocations: 41.33 kB / 270.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.008294, allocations: 0 / 270.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002817/0.008576, allocations: 65.58 kB / 270.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.008664, allocations: 81.36 kB / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.008879, allocations: 205.2 kB / 271.1 MB, free: 2.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.008901, allocations: 25.7 kB / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.009022, allocations: 146.7 kB / 271.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.009038, allocations: 0 / 271.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.009087, allocations: 23.33 kB / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/0.009384, allocations: 0.4923 MB / 271.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.00942, allocations: 4 kB / 271.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.009442, allocations: 4 kB / 271.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.009512, allocations: 31.67 kB / 271.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.009513, allocations: 0 / 271.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001006/0.009614, allocations: 37.7 kB / 271.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.009632, allocations: 7.938 kB / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.00964, allocations: 3.984 kB / 271.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.009656, allocations: 0 / 271.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.009727, allocations: 4 kB / 271.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.009732, allocations: 0 / 271.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.009759, allocations: 0 / 271.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.009766, allocations: 0 / 271.9 MB, free: 1.934 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001295/0.009896, allocations: 164.6 kB / 272 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.009972, allocations: 49.52 kB / 272.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.01002, allocations: 15.77 kB / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01002, allocations: 0 / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01002, allocations: 0 / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01003, allocations: 0 / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.01024, allocations: 132.6 kB / 272.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.01024, allocations: 4 kB / 272.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.01028, allocations: 4 kB / 272.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01029, allocations: 4 kB / 272.2 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.0103, allocations: 11.97 kB / 272.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.0103, allocations: 0 / 272.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.0103, allocations: 0 / 272.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.01054, allocations: 211.5 kB / 272.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.01057, allocations: 11.94 kB / 272.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.0106, allocations: 11.92 kB / 272.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.01066, allocations: 4 kB / 272.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.0107, allocations: 0 / 272.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01071, allocations: 3.984 kB / 272.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.01083, allocations: 147.2 kB / 272.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 7.969 kB / 272.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000221/0.01105, allocations: 4 kB / 272.6 MB, free: 1.086 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001211/0.01117, allocations: 95.25 kB / 272.7 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.01132, allocations: 31.61 kB / 272.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01132, allocations: 0 / 272.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.01136, allocations: 11.69 kB / 272.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.01172, allocations: 16.52 kB / 272.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.01214, allocations: 173.3 kB / 272.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.747e-05/0.01222, allocations: 71.33 kB / 273 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.935e-05/0.01225, allocations: 0 / 273 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.01229, allocations: 8.5 kB / 273 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01229, allocations: 4 kB / 273 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of Templates: time 0.003733/0.01602, allocations: 0.5799 MB / 273.6 MB, free: 44 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.402223841985688]