Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0008215/0.0008215, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001924, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007468/0.0007468, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001831, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9961/0.9961, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.22/1.216, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.457e-05, allocations: 2.312 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003275/0.003309, allocations: 1.968 MB / 241.7 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.004971, allocations: 1.044 MB / 242.7 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.005138, allocations: 7.938 kB / 242.8 MB, free: 3.352 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.005743, allocations: 151.3 kB / 242.9 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.006003, allocations: 123.5 kB / 243 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.006464, allocations: 209.2 kB / 243.2 MB, free: 2.875 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.006729, allocations: 183.4 kB / 243.4 MB, free: 2.695 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.006854, allocations: 23.42 kB / 243.4 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.007052, allocations: 127.7 kB / 243.6 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.007188, allocations: 64.47 kB / 243.6 MB, free: 2.484 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.007216, allocations: 8 kB / 243.6 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.007367, allocations: 68.72 kB / 243.7 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.007449, allocations: 31.88 kB / 243.7 MB, free: 2.379 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.007498, allocations: 31.88 kB / 243.8 MB, free: 2.348 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.007756, allocations: 149.2 kB / 243.9 MB, free: 2.203 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.619e-05/0.007772, allocations: 3.984 kB / 243.9 MB, free: 2.199 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.007774, allocations: 0 / 243.9 MB, free: 2.199 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.007788, allocations: 0 / 243.9 MB, free: 2.199 MB / 234.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.0006873/0.008475, allocations: 441.7 kB / 244.3 MB, free: 1.738 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.008516, allocations: 12.03 kB / 244.3 MB, free: 1.727 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.00857, allocations: 13.61 kB / 244.4 MB, free: 1.715 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.008851, allocations: 203.5 kB / 244.6 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.008873, allocations: 8.375 kB / 244.6 MB, free: 1.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.008891, allocations: 8.375 kB / 244.6 MB, free: 1.473 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.009129, allocations: 122.7 kB / 244.7 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.009142, allocations: 7.938 kB / 244.7 MB, free: 1.324 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.009153, allocations: 0.625 kB / 244.7 MB, free: 1.324 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.009162, allocations: 0 / 244.7 MB, free: 1.324 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.009203, allocations: 23.34 kB / 244.7 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.009522, allocations: 208 kB / 244.9 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.009671, allocations: 128.3 kB / 245.1 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.009708, allocations: 31.72 kB / 245.1 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.009733, allocations: 7.875 kB / 245.1 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.009869, allocations: 70.2 kB / 245.2 MB, free: 0.793 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.00987, allocations: 1 kB / 245.2 MB, free: 0.793 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.000177/0.01005, allocations: 82.59 kB / 245.2 MB, free: 0.707 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.0101, allocations: 106.8 kB / 245.3 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.01026, allocations: 227.4 kB / 245.6 MB, free: 352 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01028, allocations: 25.7 kB / 245.6 MB, free: 320 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.01033, allocations: 108.7 kB / 245.7 MB, free: 208 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.01035, allocations: 19.89 kB / 245.7 MB, free: 188 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.01039, allocations: 30.41 kB / 245.8 MB, free: 152 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.01049, allocations: 326.8 kB / 246.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.01051, allocations: 7.484 kB / 246.1 MB, free: 15.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.01055, allocations: 54.8 kB / 246.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.01059, allocations: 39.3 kB / 246.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01059, allocations: 0 / 246.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.431e-05/0.01067, allocations: 68.75 kB / 246.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01069, allocations: 4 kB / 246.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.0107, allocations: 0.9688 kB / 246.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.01072, allocations: 4 kB / 246.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.01079, allocations: 15.94 kB / 246.3 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01079, allocations: 0.5 kB / 246.3 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.01083, allocations: 12.75 kB / 246.3 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.01084, allocations: 4 kB / 246.3 MB, free: 15.59 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,sample1.u) * 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 8.03e-05/0.01092, allocations: 122.3 kB / 246.4 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.01096, allocations: 53.55 kB / 246.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.01108, allocations: 75.39 kB / 246.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01108, allocations: 384 / 246.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01108, allocations: 8 kB / 246.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01109, allocations: 0 / 246.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.85e-05/0.01119, allocations: 101.8 kB / 246.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01119, allocations: 4 kB / 246.6 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.01121, allocations: 11.92 kB / 246.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.01126, allocations: 27.84 kB / 246.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.01126, allocations: 3.984 kB / 246.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.01127, allocations: 0 / 246.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.01127, allocations: 4 kB / 246.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01127, allocations: 0 / 246.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.01137, allocations: 104.5 kB / 246.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01139, allocations: 3.938 kB / 246.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.01143, allocations: 11.92 kB / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.01146, allocations: 8 kB / 246.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.01147, allocations: 3.984 kB / 246.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.751e-05/0.01154, allocations: 81.61 kB / 246.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 3.938 kB / 246.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.01169, allocations: 31.89 kB / 246.9 MB, free: 14.88 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,sample1.u,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.001374/0.01306, allocations: 0.567 MB / 247.5 MB, free: 14.58 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01319, allocations: 44.77 kB / 247.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/0.01321, allocations: 4 kB / 247.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.01325, allocations: 24.84 kB / 247.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.01359, allocations: 328.1 kB / 247.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.01422, allocations: 299.8 kB / 248.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.856e-05/0.01428, allocations: 87.81 kB / 248.3 MB, free: 13.69 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.01433, allocations: 13.48 kB / 248.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.01443, allocations: 75.36 kB / 248.4 MB, free: 13.61 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01443, allocations: 0 / 248.4 MB, free: 13.61 MB / 250.7 MB Notification: Performance of Templates: time 0.005392/0.01982, allocations: 2.829 MB / 251.2 MB, free: 10.83 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5872127264738083]