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.001344/0.001344, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001604/0.001604, allocations: 213.6 kB / 23.73 MB, free: 4.156 MB / 14.72 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.0018/0.0018, allocations: 51.91 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2455, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004037/0.2495, allocations: 1.892 MB / 433.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.252, allocations: 1.134 MB / 434.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.2522, allocations: 7.938 kB / 434.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.2528, allocations: 155.5 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.2533, allocations: 155.3 kB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.2538, allocations: 174.9 kB / 435.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.2541, allocations: 195.4 kB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.2543, allocations: 21.55 kB / 435.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2544, allocations: 79.69 kB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.2546, allocations: 75.56 kB / 435.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.2546, allocations: 12 kB / 435.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2547, allocations: 63.95 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.2548, allocations: 39.84 kB / 435.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.2549, allocations: 51.66 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.2553, allocations: 217.4 kB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2553, allocations: 8 kB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2553, allocations: 0 / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2553, allocations: 0 / 435.8 MB, free: 2.473 MB / 334.1 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.000782/0.2561, allocations: 446.8 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2561, allocations: 8.031 kB / 436.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.2562, allocations: 24.8 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.2565, allocations: 213 kB / 436.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.2565, allocations: 8.375 kB / 436.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2566, allocations: 12.12 kB / 436.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.2569, allocations: 137.9 kB / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2569, allocations: 0 / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2569, allocations: 0 / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.2569, allocations: 4 kB / 436.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2571, allocations: 39.91 kB / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.2575, allocations: 294.1 kB / 437 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.2578, allocations: 115.9 kB / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.2579, allocations: 46.5 kB / 437.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2579, allocations: 0 / 437.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.2581, allocations: 79.39 kB / 437.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2581, allocations: 0 / 437.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003933/0.2585, allocations: 149.4 kB / 437.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.2586, allocations: 111.1 kB / 437.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.2589, allocations: 277 kB / 437.7 MB, free: 352 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2589, allocations: 29.7 kB / 437.8 MB, free: 316 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.259, allocations: 112.1 kB / 437.9 MB, free: 200 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.259, allocations: 19.89 kB / 437.9 MB, free: 180 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.2591, allocations: 33.67 kB / 437.9 MB, free: 140 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2592, allocations: 334.8 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.2593, allocations: 19.98 kB / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.2594, allocations: 94.78 kB / 438.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2595, allocations: 84.19 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2595, allocations: 0 / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000219/0.2598, allocations: 117.5 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2598, allocations: 8 kB / 438.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2598, allocations: 0 / 438.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2598, allocations: 0 / 438.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.2599, allocations: 24.05 kB / 438.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2599, allocations: 0 / 438.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.26, allocations: 11.95 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.26, allocations: 4 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001413/0.2601, allocations: 150.5 kB / 438.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.2602, allocations: 61.53 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.2604, allocations: 111.4 kB / 438.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2604, allocations: 0 / 438.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2604, allocations: 4.375 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2604, allocations: 7.984 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.2606, allocations: 177.2 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2606, allocations: 0 / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.2607, allocations: 8 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2607, allocations: 0 / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2607, allocations: 7.984 kB / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2607, allocations: 0 / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2607, allocations: 0 / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.2611, allocations: 162.6 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.2612, allocations: 35.83 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.2612, allocations: 8 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.2613, allocations: 4 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.2613, allocations: 7.984 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2614, allocations: 4 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.2616, allocations: 200.5 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2616, allocations: 0 / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.2619, allocations: 31.94 kB / 439.6 MB, free: 14.36 MB / 350.1 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.001636/0.2635, allocations: 463.3 kB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.2637, allocations: 71.84 kB / 440.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2637, allocations: 0 / 440.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.2638, allocations: 27.98 kB / 440.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2642, allocations: 62.36 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.2648, allocations: 317.7 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2649, allocations: 123.8 kB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.83e-05/0.2649, allocations: 21.62 kB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.265, allocations: 19.42 kB / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.265, allocations: 0 / 440.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of Templates: time 0.006457/0.2715, allocations: 2.671 MB / 443.3 MB, free: 10.77 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.548440216109157]