Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009613/0.0009613, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009761/0.0009761, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.082e-05, allocations: 2.312 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002674/0.002695, allocations: 1.97 MB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.004444, allocations: 1.25 MB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.004581, allocations: 7.938 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.00488, allocations: 63.61 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.005193, allocations: 139.2 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.005761, allocations: 223.2 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.006001, allocations: 183.5 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.006106, allocations: 22.45 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.006242, allocations: 99.67 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.006355, allocations: 67.84 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.006375, allocations: 8 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.006538, allocations: 83.81 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.006599, allocations: 47.84 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.006644, allocations: 39.84 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.006894, allocations: 191.2 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006898, allocations: 0 / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006899, allocations: 3.938 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.006904, allocations: 3.984 kB / 277.8 MB, free: 12.62 MB / 266.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.0004411/0.007345, allocations: 441.1 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.007378, allocations: 15.98 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.007417, allocations: 20.92 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.007627, allocations: 212.8 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.007644, allocations: 4.375 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.007656, allocations: 20.3 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.00785, allocations: 141.9 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.007857, allocations: 192 / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.007865, allocations: 384 / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.007871, allocations: 7.938 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.007908, allocations: 22.75 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.008169, allocations: 207.5 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.008283, allocations: 133.3 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.008311, allocations: 30.64 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.008328, allocations: 7.984 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.041e-05/0.008419, allocations: 74.09 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.00842, allocations: 0 / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001418/0.008562, allocations: 81.59 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.008616, allocations: 114.8 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.008789, allocations: 258.6 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.008806, allocations: 29.7 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.008851, allocations: 108.6 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.00887, allocations: 7.906 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.008909, allocations: 33.89 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.008994, allocations: 334.8 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.009015, allocations: 14.8 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.009052, allocations: 48.28 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.619e-05/0.009108, allocations: 43.34 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.00911, allocations: 0 / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.241e-05/0.009193, allocations: 68.75 kB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.009209, allocations: 7.938 kB / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.009216, allocations: 0 / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.009229, allocations: 64 / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.009304, allocations: 20 kB / 280.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.00931, allocations: 7.922 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.009348, allocations: 8 kB / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.009354, allocations: 0 / 280.3 MB, free: 9.891 MB / 266.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.887e-05/0.009433, allocations: 128.5 kB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.009484, allocations: 57.55 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.009592, allocations: 79.59 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009594, allocations: 0 / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.009596, allocations: 4.062 kB / 280.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.009599, allocations: 0 / 280.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.77e-05/0.009697, allocations: 117.8 kB / 280.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009698, allocations: 0 / 280.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.009741, allocations: 12 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009743, allocations: 0 / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.009749, allocations: 4 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.009753, allocations: 11.86 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009754, allocations: 80 / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.009844, allocations: 112.5 kB / 280.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.009886, allocations: 31.84 kB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.009904, allocations: 4 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.009935, allocations: 11.92 kB / 280.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.00997, allocations: 7.984 kB / 280.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.009983, allocations: 4 kB / 280.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.01006, allocations: 101.6 kB / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01006, allocations: 0 / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00015/0.01021, allocations: 31.94 kB / 281 MB, free: 9.113 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: 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.001083/0.0113, allocations: 0.5088 MB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.478e-05/0.01139, allocations: 44.77 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.0114, allocations: 4 kB / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.01143, allocations: 20.84 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.01164, allocations: 68.03 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.01203, allocations: 335.4 kB / 281.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.01208, allocations: 80.22 kB / 282 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.317e-05/0.01213, allocations: 37.53 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.01222, allocations: 83.36 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01222, allocations: 0 / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of Templates: time 0.004823/0.01704, allocations: 3.13 MB / 285.3 MB, free: 4.992 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.692029326222837]