Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009919/0.0009919, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002248/0.00324, 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.0007192/0.0007192, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009394/0.001659, 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 0.9887/0.9887, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0891/1.078, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.255e-05, allocations: 4.984 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003634/0.003657, allocations: 1.995 MB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.00576, allocations: 1.188 MB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.005917, allocations: 3.938 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.006511, allocations: 143.5 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.006962, allocations: 175.2 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.00755, allocations: 162.2 kB / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.007855, allocations: 195.3 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.007966, allocations: 22.45 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.008211, allocations: 139.6 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.008349, allocations: 67.73 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.00839, allocations: 16 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.008582, allocations: 59.89 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.008657, allocations: 35.86 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.00871, allocations: 31.88 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.00902, allocations: 151.4 kB / 248.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.13e-05/0.009042, allocations: 0 / 248.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.009043, allocations: 0 / 248.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.009066, allocations: 3.938 kB / 248.9 MB, free: 9.93 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.000783/0.009849, allocations: 449 kB / 249.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.009893, allocations: 8.031 kB / 249.3 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.009951, allocations: 20.92 kB / 249.3 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.01027, allocations: 217.5 kB / 249.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.01029, allocations: 4.375 kB / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.01031, allocations: 8.375 kB / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.01056, allocations: 121.2 kB / 249.7 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01057, allocations: 3.938 kB / 249.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.01059, allocations: 8 kB / 249.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.01059, allocations: 4 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.42e-05/0.01065, allocations: 22.75 kB / 249.7 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.01099, allocations: 203.6 kB / 249.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.01114, allocations: 122.6 kB / 250 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.01118, allocations: 34.58 kB / 250.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.01121, allocations: 7.922 kB / 250.1 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.01134, allocations: 70.16 kB / 250.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.01135, allocations: 4 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001971/0.01154, allocations: 77.59 kB / 250.2 MB, free: 8.414 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.01161, allocations: 110.8 kB / 250.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.01181, allocations: 230.7 kB / 250.6 MB, free: 8.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.01183, allocations: 29.7 kB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.01189, allocations: 104.6 kB / 250.7 MB, free: 7.898 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.01192, allocations: 15.83 kB / 250.7 MB, free: 7.883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.01196, allocations: 29.94 kB / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01208, allocations: 330.8 kB / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.0121, allocations: 10.83 kB / 251.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.01216, allocations: 56.27 kB / 251.1 MB, free: 7.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.01224, allocations: 43.28 kB / 251.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01224, allocations: 0 / 251.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001338/0.01238, allocations: 64.44 kB / 251.2 MB, free: 7.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.0124, allocations: 6.812 kB / 251.2 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.01241, allocations: 0 / 251.2 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01242, allocations: 4 kB / 251.2 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.01253, allocations: 23.98 kB / 251.3 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.01253, allocations: 4.156 kB / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.01259, allocations: 0 / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.0126, allocations: 4 kB / 251.3 MB, free: 7.273 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 0.0001197/0.01272, allocations: 123.4 kB / 251.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.0128, allocations: 57.55 kB / 251.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.01297, allocations: 71.44 kB / 251.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.01297, allocations: 4 kB / 251.5 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01298, allocations: 4 kB / 251.5 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01298, allocations: 4.062 kB / 251.5 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.01317, allocations: 113.8 kB / 251.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01317, allocations: 0 / 251.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.01322, allocations: 11.94 kB / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.01331, allocations: 31.77 kB / 251.7 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.01331, allocations: 4 kB / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01332, allocations: 0 / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01333, allocations: 0 / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.01333, allocations: 4 kB / 251.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.01348, allocations: 100.5 kB / 251.8 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.01352, allocations: 15.94 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.01358, allocations: 4 kB / 251.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.01363, allocations: 3.984 kB / 251.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.01366, allocations: 8 kB / 251.8 MB, free: 6.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.01378, allocations: 85.55 kB / 251.9 MB, free: 6.574 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01378, allocations: 0 / 251.9 MB, free: 6.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.01402, allocations: 31.94 kB / 251.9 MB, free: 6.543 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.001891/0.01592, allocations: 0.5624 MB / 252.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.01606, allocations: 36.78 kB / 252.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.01607, allocations: 4 kB / 252.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.01612, allocations: 16.84 kB / 252.6 MB, free: 6.191 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.01642, allocations: 72.55 kB / 252.6 MB, free: 6.121 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.01718, allocations: 296.3 kB / 252.9 MB, free: 5.793 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.01724, allocations: 83.75 kB / 253 MB, free: 5.691 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.01732, allocations: 30 kB / 253 MB, free: 5.664 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.01743, allocations: 75.36 kB / 253.1 MB, free: 5.59 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01743, allocations: 0 / 253.1 MB, free: 5.59 MB / 250.7 MB Notification: Performance of Templates: time 0.006855/0.02429, allocations: 2.827 MB / 255.9 MB, free: 2.812 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.5222948361188173]