Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.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.0009499/0.0009499, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009768/0.0009768, allocations: 170.6 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9443/0.9443, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.27/0.27, allocations: 34.26 MB / 296.1 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.301e-05, allocations: 5.781 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009724/0.0009854, allocations: 0.545 MB / 325.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005645/0.00155, allocations: 379.4 kB / 326.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-06/0.001558, allocations: 4 kB / 326.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.861e-06/0.001564, allocations: 0 / 326.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.585e-06/0.001566, allocations: 0 / 326.2 MB, free: 6.777 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.001995, allocations: 191.4 kB / 326.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.62e-05/0.002022, allocations: 0.625 kB / 326.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.951e-05/0.002041, allocations: 4 kB / 326.4 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.002054, allocations: 3.984 kB / 326.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.008e-05/0.002064, allocations: 4 kB / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-06/0.002068, allocations: 0 / 326.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.002328, allocations: 235.5 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-06/0.002333, allocations: 8 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.145e-06/0.002341, allocations: 3.938 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.002495, allocations: 179.6 kB / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.002497, allocations: 0 / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002498, allocations: 0 / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.0025, allocations: 0 / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00017/0.00267, allocations: 266.7 kB / 327.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.296e-05/0.002693, allocations: 8.031 kB / 327.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.137e-05/0.002705, allocations: 0.9375 kB / 327.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.698e-05/0.002752, allocations: 121.8 kB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.002757, allocations: 4.312 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-06/0.002762, allocations: 4.375 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.159e-05/0.002803, allocations: 59.91 kB / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-06/0.002808, allocations: 192 / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-06/0.002812, allocations: 384 / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-06/0.002815, allocations: 384 / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.002831, allocations: 37.64 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.345e-05/0.002875, allocations: 53.05 kB / 327.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.374e-05/0.002909, allocations: 52.23 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.002925, allocations: 30.56 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-06/0.002927, allocations: 0 / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.002953, allocations: 64.33 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.002954, allocations: 0 / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 6.988e-05/0.003024, allocations: 110.8 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.003054, allocations: 81.11 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.731e-05/0.003081, allocations: 90.55 kB / 327.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.00309, allocations: 29.7 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.003118, allocations: 80.14 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.00313, allocations: 0.6875 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.003153, allocations: 13.72 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.003239, allocations: 322.7 kB / 328.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.003253, allocations: 33.83 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.003268, allocations: 25.7 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.003306, allocations: 64.25 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.003307, allocations: 0 / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.098e-05/0.003348, allocations: 81.11 kB / 328.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.003371, allocations: 37.69 kB / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.003373, allocations: 0 / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.003381, allocations: 0 / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.003382, allocations: 0 / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.003385, allocations: 4.094 kB / 328.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-06/0.003392, allocations: 3.938 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.003396, allocations: 0 / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.455e-05/0.00345, allocations: 139.5 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-06/0.003454, allocations: 0 / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-06/0.003461, allocations: 11 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.003462, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.003463, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.003467, allocations: 7.922 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.018e-05/0.003508, allocations: 62.19 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.003508, allocations: 0 / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-07/0.003508, allocations: 8 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.003509, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.003512, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.9e-07/0.003512, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003513, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.529e-05/0.003568, allocations: 112.5 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-06/0.003572, allocations: 8 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-06/0.003579, allocations: 3.938 kB / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-06/0.003583, allocations: 0 / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-06/0.00359, allocations: 0 / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.003591, allocations: 8.031 kB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.967e-06/0.003595, allocations: 4.859 kB / 328.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003595, allocations: 0 / 328.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.003741, allocations: 55.86 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002457/0.003987, allocations: 195.6 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.165e-05/0.004059, allocations: 115.7 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00406, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.00409, allocations: 98.02 kB / 329.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.236e-05/0.004123, allocations: 7.938 kB / 329.3 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.785e-05/0.004221, allocations: 110 kB / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.135e-05/0.004242, allocations: 55.3 kB / 329.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.677e-06/0.004246, allocations: 0 / 329.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.004276, allocations: 55.36 kB / 329.5 MB, free: 3.062 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.004276, allocations: 3.938 kB / 329.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of Templates: time 0.002608/0.006885, allocations: 1.847 MB / 331.3 MB, free: 1.215 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.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.8559097829274833]