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.001798/0.001798, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002015/0.002015, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.436/1.436, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.414e-06/2.414e-06, allocations: 0.7031 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.54e-05, allocations: 3.688 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002755/0.002781, allocations: 1.857 MB / 320.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.004297, allocations: 0.9922 MB / 321.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.004406, allocations: 6.344 kB / 321.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.005021, allocations: 156.9 kB / 321.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.005376, allocations: 119.2 kB / 322 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.005967, allocations: 203.2 kB / 322.2 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.006234, allocations: 181.3 kB / 322.4 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.006332, allocations: 24.92 kB / 322.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.006472, allocations: 94.77 kB / 322.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.006592, allocations: 67 kB / 322.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.006622, allocations: 9.188 kB / 322.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.006785, allocations: 62.98 kB / 322.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.006852, allocations: 47.02 kB / 322.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.006911, allocations: 35.56 kB / 322.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.007212, allocations: 206.7 kB / 323 MB, free: 1.148 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.007216, allocations: 0 / 323 MB, free: 1.148 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007217, allocations: 0 / 323 MB, free: 1.148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.007222, allocations: 1.219 kB / 323 MB, free: 1.148 MB / 286.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.000628/0.00785, allocations: 453.4 kB / 323.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.007881, allocations: 12.66 kB / 323.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.007935, allocations: 18.84 kB / 323.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.008218, allocations: 207.5 kB / 323.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.008234, allocations: 3.156 kB / 323.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.008255, allocations: 9.844 kB / 323.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.008547, allocations: 142.3 kB / 323.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.008558, allocations: 8.688 kB / 323.8 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.00857, allocations: 1.344 kB / 323.8 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.008575, allocations: 1.5 kB / 323.8 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.008671, allocations: 36.98 kB / 323.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.00904, allocations: 294.3 kB / 324.1 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.009262, allocations: 112.1 kB / 324.2 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.009337, allocations: 41.53 kB / 324.3 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.009361, allocations: 10.52 kB / 324.3 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.009535, allocations: 74.56 kB / 324.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.009536, allocations: 0 / 324.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003803/0.009917, allocations: 145.4 kB / 324.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.01, allocations: 106 kB / 324.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.0103, allocations: 269.9 kB / 324.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.01033, allocations: 31.02 kB / 324.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.01041, allocations: 111.8 kB / 325 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.01044, allocations: 20.23 kB / 325 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.01049, allocations: 31.98 kB / 325.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.01065, allocations: 325.6 kB / 325.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.01072, allocations: 20.62 kB / 325.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/0.01081, allocations: 67.62 kB / 325.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01093, allocations: 59.44 kB / 325.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01093, allocations: 0 / 325.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000183/0.01111, allocations: 97.23 kB / 325.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01113, allocations: 8.469 kB / 325.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01113, allocations: 4.375 kB / 325.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.01115, allocations: 1.375 kB / 325.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.01124, allocations: 15.59 kB / 325.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.01125, allocations: 4 kB / 325.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.01132, allocations: 13.38 kB / 325.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.01133, allocations: 2.172 kB / 325.7 MB, free: 14.93 MB / 302.1 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.0001373/0.01146, allocations: 140.4 kB / 325.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.01155, allocations: 66.94 kB / 325.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.0118, allocations: 119.2 kB / 326 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.0118, allocations: 1.375 kB / 326 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01181, allocations: 1.375 kB / 326 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01181, allocations: 5.922 kB / 326 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.012, allocations: 167.2 kB / 326.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.012, allocations: 2 kB / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.01204, allocations: 6.125 kB / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01204, allocations: 2.453 kB / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01205, allocations: 2.844 kB / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01205, allocations: 0 / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01205, allocations: 1.859 kB / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.01232, allocations: 164.4 kB / 326.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.01239, allocations: 36.2 kB / 326.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.01242, allocations: 2.094 kB / 326.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.01248, allocations: 4.031 kB / 326.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01253, allocations: 10.23 kB / 326.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.01255, allocations: 3.938 kB / 326.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.01279, allocations: 200.8 kB / 326.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01279, allocations: 0 / 326.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000257/0.01305, allocations: 29.8 kB / 326.6 MB, free: 14.26 MB / 302.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.001653/0.0147, allocations: 451.5 kB / 327 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.01493, allocations: 61.34 kB / 327.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01494, allocations: 0 / 327.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.01502, allocations: 32.7 kB / 327.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.01545, allocations: 62.17 kB / 327.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.01605, allocations: 316.3 kB / 327.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.01618, allocations: 120.3 kB / 327.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.01625, allocations: 30.83 kB / 327.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.01629, allocations: 18.77 kB / 327.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01629, allocations: 0 / 327.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of Templates: time 0.006869/0.02316, allocations: 2.513 MB / 330.2 MB, free: 13.19 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.304515138268471]