Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.002032, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007224/0.0007224, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008936/0.001616, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.097/1.097, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09955/1.197, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.38e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002348/0.002372, allocations: 1.983 MB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003958, allocations: 1.262 MB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.004083, allocations: 4 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.004618, allocations: 67.59 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.004918, allocations: 131.3 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.005508, allocations: 231.1 kB / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.005745, allocations: 175.5 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.005844, allocations: 30.33 kB / 248.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.006013, allocations: 128.5 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.006119, allocations: 67.8 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.006139, allocations: 12 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.006304, allocations: 75.88 kB / 248.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.006368, allocations: 47.78 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.006411, allocations: 31.88 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.006647, allocations: 175.3 kB / 248.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.006662, allocations: 0 / 248.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.006664, allocations: 0 / 248.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.006676, allocations: 0 / 248.9 MB, free: 9.91 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005494/0.007225, allocations: 484.7 kB / 249.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.007255, allocations: 12.03 kB / 249.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.007295, allocations: 16.92 kB / 249.4 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.00751, allocations: 200.8 kB / 249.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.007539, allocations: 12.36 kB / 249.6 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.007555, allocations: 12.06 kB / 249.6 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.007748, allocations: 141.4 kB / 249.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.007754, allocations: 0 / 249.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.007763, allocations: 0 / 249.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.007767, allocations: 4 kB / 249.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.007814, allocations: 18.81 kB / 249.8 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.00808, allocations: 215.5 kB / 250 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.008204, allocations: 141.4 kB / 250.1 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.008231, allocations: 26.58 kB / 250.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.008252, allocations: 7.984 kB / 250.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.974e-05/0.008352, allocations: 74.14 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.008353, allocations: 0 / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001496/0.008503, allocations: 89.58 kB / 250.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.00855, allocations: 106.8 kB / 250.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.008707, allocations: 262.6 kB / 250.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.008723, allocations: 25.7 kB / 250.7 MB, free: 7.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.008771, allocations: 108.6 kB / 250.8 MB, free: 7.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.008793, allocations: 19.83 kB / 250.8 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.008827, allocations: 37.84 kB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.008907, allocations: 338.7 kB / 251.2 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.008925, allocations: 10.81 kB / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.008959, allocations: 52.27 kB / 251.3 MB, free: 7.301 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.009001, allocations: 35.36 kB / 251.3 MB, free: 7.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.009004, allocations: 0 / 251.3 MB, free: 7.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.311e-05/0.009077, allocations: 76.42 kB / 251.4 MB, free: 7.176 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.009091, allocations: 7.594 kB / 251.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.009096, allocations: 0 / 251.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.009103, allocations: 4.062 kB / 251.4 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.00918, allocations: 15.98 kB / 251.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009186, allocations: 8.141 kB / 251.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.00922, allocations: 0 / 251.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.009226, allocations: 4 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.164e-05/0.009297, allocations: 124.9 kB / 251.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.00934, allocations: 49.67 kB / 251.6 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.009443, allocations: 87.38 kB / 251.7 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.009445, allocations: 4.062 kB / 251.7 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.009448, allocations: 4 kB / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009451, allocations: 0 / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.588e-05/0.009547, allocations: 109.8 kB / 251.8 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.009551, allocations: 7.938 kB / 251.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.009598, allocations: 12 kB / 251.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.009641, allocations: 31.83 kB / 251.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009643, allocations: 4 kB / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.00965, allocations: 7.984 kB / 251.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.009653, allocations: 4 kB / 251.9 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.009655, allocations: 3.938 kB / 251.9 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.6e-05/0.009751, allocations: 108.4 kB / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.00977, allocations: 4 kB / 252 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.009803, allocations: 7.984 kB / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.009839, allocations: 7.984 kB / 252 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.009854, allocations: 8 kB / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.332e-05/0.009927, allocations: 101.6 kB / 252.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009927, allocations: 0 / 252.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.01007, allocations: 35.89 kB / 252.1 MB, free: 6.363 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001331/0.0114, allocations: 0.5685 MB / 252.7 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.0115, allocations: 40.78 kB / 252.7 MB, free: 6.023 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.01151, allocations: 4 kB / 252.7 MB, free: 6.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.01154, allocations: 20.84 kB / 252.8 MB, free: 5.996 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.01175, allocations: 75.81 kB / 252.8 MB, free: 5.922 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.0123, allocations: 335.7 kB / 253.2 MB, free: 5.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.01235, allocations: 91.97 kB / 253.3 MB, free: 5.449 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.125e-05/0.0124, allocations: 25.75 kB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.01249, allocations: 83.34 kB / 253.4 MB, free: 5.344 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01249, allocations: 0 / 253.4 MB, free: 5.344 MB / 250.7 MB Notification: Performance of Templates: time 0.005185/0.01767, allocations: 3.182 MB / 256.5 MB, free: 2.211 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.684087287634611]