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.001944/0.001944, allocations: 113 kB / 19.04 MB, free: 3.254 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.002325/0.002325, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.61/1.61, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.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 0.001574/0.001574, allocations: 52.05 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3242, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004149/0.3283, allocations: 1.92 MB / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3306, allocations: 1.06 MB / 423.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3307, allocations: 3.938 kB / 423.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007257/0.3315, allocations: 147.5 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.3318, allocations: 119.5 kB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.3325, allocations: 198.9 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.3328, allocations: 187.5 kB / 424.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.333, allocations: 17.56 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3331, allocations: 71.64 kB / 424.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3332, allocations: 79.61 kB / 424.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.3333, allocations: 19.94 kB / 424.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.3334, allocations: 55.95 kB / 424.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.3335, allocations: 39.84 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3336, allocations: 67.55 kB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.3341, allocations: 212.3 kB / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3341, allocations: 0 / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3341, allocations: 0 / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3341, allocations: 3.984 kB / 425 MB, free: 10.91 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.001141/0.3352, allocations: 0.5077 MB / 425.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3353, allocations: 19.88 kB / 425.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.3354, allocations: 28.8 kB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.3358, allocations: 263 kB / 425.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3358, allocations: 4.375 kB / 425.9 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.3358, allocations: 12.12 kB / 425.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3363, allocations: 146.7 kB / 426 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3363, allocations: 0 / 426 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3363, allocations: 4 kB / 426 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3363, allocations: 0 / 426 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3364, allocations: 35.91 kB / 426.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.337, allocations: 362.4 kB / 426.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.3373, allocations: 99.89 kB / 426.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3374, allocations: 50.5 kB / 426.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.3374, allocations: 3.984 kB / 426.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.3376, allocations: 75.34 kB / 426.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.3376, allocations: 0 / 426.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004386/0.338, allocations: 141.6 kB / 426.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.3381, allocations: 136.5 kB / 426.9 MB, free: 8.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.3385, allocations: 261 kB / 427.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3385, allocations: 25.7 kB / 427.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3386, allocations: 120.1 kB / 427.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.3386, allocations: 19.89 kB / 427.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.3387, allocations: 29.72 kB / 427.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3389, allocations: 334.8 kB / 427.7 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.3389, allocations: 23.94 kB / 427.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.339, allocations: 69.98 kB / 427.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3392, allocations: 76.27 kB / 427.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3392, allocations: 0 / 427.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.3394, allocations: 121.7 kB / 428 MB, free: 7.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3395, allocations: 8 kB / 428 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3395, allocations: 0 / 428 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3395, allocations: 4 kB / 428 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.3396, allocations: 20.05 kB / 428 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3396, allocations: 7.938 kB / 428 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.3397, allocations: 15.83 kB / 428 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3397, allocations: 8 kB / 428 MB, free: 7.59 MB / 334.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.0001894/0.3399, allocations: 145.8 kB / 428.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.34, allocations: 61.53 kB / 428.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3402, allocations: 111.4 kB / 428.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3402, allocations: 4 kB / 428.3 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3402, allocations: 4 kB / 428.3 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3402, allocations: 3.938 kB / 428.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3405, allocations: 221.7 kB / 428.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3405, allocations: 3.938 kB / 428.6 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.3405, allocations: 8 kB / 428.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3405, allocations: 7.984 kB / 428.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3405, allocations: 0 / 428.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3405, allocations: 4 kB / 428.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3405, allocations: 0 / 428.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.3408, allocations: 154.6 kB / 428.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3409, allocations: 108.9 kB / 428.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.341, allocations: 4 kB / 428.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.341, allocations: 8.125 kB / 428.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.3411, allocations: 7.984 kB / 428.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3411, allocations: 15.94 kB / 428.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.3413, allocations: 196.4 kB / 429.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3413, allocations: 0 / 429.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.3416, allocations: 31.94 kB / 429.1 MB, free: 6.395 MB / 334.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 (9): * Single equations (assignments): 7 * 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.001601/0.3432, allocations: 413.9 kB / 429.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.3435, allocations: 60.11 kB / 429.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3435, allocations: 4.062 kB / 429.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.3436, allocations: 23.98 kB / 429.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.344, allocations: 64.55 kB / 429.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.3448, allocations: 316.5 kB / 430 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.3452, allocations: 0.732 MB / 430.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.683e-05/0.3453, allocations: 21.53 kB / 430.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.3454, allocations: 23.38 kB / 430.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3454, allocations: 0 / 430.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of Templates: time 0.007262/0.3526, allocations: 2.432 MB / 433.2 MB, free: 2.449 MB / 334.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: 5.010550859384239]