Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.00151/0.00151, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001505/0.001505, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 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.9345/0.9345, allocations: 173.4 MB / 201.5 MB, free: 8.734 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.378e-06/1.053e-05, allocations: 6.312 kB / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001971/0.001982, allocations: 1.631 MB / 270.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000539/0.002521, allocations: 474.5 kB / 270.6 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.00258, allocations: 7.938 kB / 270.6 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.002615, allocations: 7.922 kB / 270.6 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.002713, allocations: 7.875 kB / 270.6 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.002875, allocations: 47.83 kB / 270.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.314e-05/0.002948, allocations: 51.77 kB / 270.7 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.003007, allocations: 16.19 kB / 270.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.003069, allocations: 31.84 kB / 270.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.003106, allocations: 15.97 kB / 270.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.003122, allocations: 11.94 kB / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-06/0.003129, allocations: 0 / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.003159, allocations: 8 kB / 270.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.003177, allocations: 19.92 kB / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.304e-05/0.00325, allocations: 39.83 kB / 270.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.003251, allocations: 0 / 270.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003252, allocations: 0 / 270.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.454e-06/0.003254, allocations: 0 / 270.8 MB, free: 3.652 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.0002462/0.003501, allocations: 272.6 kB / 271.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.654e-05/0.003527, allocations: 12.92 kB / 271.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.003549, allocations: 8.938 kB / 271.1 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.003679, allocations: 157.5 kB / 271.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.003686, allocations: 384 / 271.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.003695, allocations: 4.375 kB / 271.3 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.003827, allocations: 111.2 kB / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.003833, allocations: 192 / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.003839, allocations: 4.125 kB / 271.4 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.003843, allocations: 4 kB / 271.4 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.003858, allocations: 11.94 kB / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.003988, allocations: 154 kB / 271.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.004038, allocations: 63.78 kB / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.004057, allocations: 18.64 kB / 271.6 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.004069, allocations: 4 kB / 271.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.004085, allocations: 38.5 kB / 271.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.004086, allocations: 4 kB / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.317e-05/0.004179, allocations: 53.56 kB / 271.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.00422, allocations: 110.8 kB / 271.8 MB, free: 2.473 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.004279, allocations: 138.6 kB / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.004288, allocations: 33.64 kB / 272 MB, free: 2.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.004314, allocations: 84.08 kB / 272.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.004324, allocations: 3.953 kB / 272.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.004345, allocations: 17.7 kB / 272.1 MB, free: 2.172 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.004412, allocations: 319.2 kB / 272.4 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.004416, allocations: 7.938 kB / 272.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.004421, allocations: 0 / 272.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.621e-05/0.004437, allocations: 8.859 kB / 272.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004439, allocations: 4 kB / 272.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.167e-05/0.004471, allocations: 37.69 kB / 272.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.004481, allocations: 10.97 kB / 272.5 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004485, allocations: 3.938 kB / 272.5 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.004493, allocations: 0 / 272.5 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.004529, allocations: 3.938 kB / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.004531, allocations: 8.094 kB / 272.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.004544, allocations: 3.984 kB / 272.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.004548, allocations: 0 / 272.5 MB, free: 1.758 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 4.353e-05/0.004592, allocations: 108.7 kB / 272.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.004623, allocations: 45.67 kB / 272.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.004646, allocations: 19.84 kB / 272.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.004647, allocations: 0 / 272.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004649, allocations: 0 / 272.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.004652, allocations: 4 kB / 272.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.628e-05/0.004728, allocations: 73.88 kB / 272.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004729, allocations: 4.062 kB / 272.8 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.004752, allocations: 11.98 kB / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004754, allocations: 0 / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-06/0.004757, allocations: 0 / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.004759, allocations: 4 kB / 272.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.004761, allocations: 3.938 kB / 272.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.66e-05/0.004817, allocations: 149.2 kB / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.004839, allocations: 15.94 kB / 272.9 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.004848, allocations: 3.984 kB / 272.9 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.00488, allocations: 8.031 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.004897, allocations: 3.938 kB / 273 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.004901, allocations: 4 kB / 273 MB, free: 1.246 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.009e-05/0.004921, allocations: 27.77 kB / 273 MB, free: 1.219 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004921, allocations: 0 / 273 MB, free: 1.219 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001085/0.005029, allocations: 4 kB / 273 MB, free: 1.215 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 5.246e-05/0.005082, allocations: 80.41 kB / 273.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.301e-05/0.005125, allocations: 20.78 kB / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.005127, allocations: 3.938 kB / 273.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.345e-06/0.005135, allocations: 8.922 kB / 273.1 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.005295, allocations: 28.48 kB / 273.1 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.00561, allocations: 187.7 kB / 273.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.005641, allocations: 59.34 kB / 273.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.005658, allocations: 7.984 kB / 273.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.005702, allocations: 51.62 kB / 273.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of SimCode: time 3.21e-07/0.005702, allocations: 4 kB / 273.4 MB, free: 0.707 MB / 250.7 MB Notification: Performance of Templates: time 0.001775/0.007477, allocations: 0.6489 MB / 274.1 MB, free: 68 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.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.540198341012001]