Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001447/0.001447, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001286/0.001286, allocations: 174.3 kB / 24.92 MB, free: 8.77 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2502/0.2502, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.505e-05, allocations: 3.578 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001736/0.001761, allocations: 0.5454 MB / 323.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.00259, allocations: 386.7 kB / 324.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.002606, allocations: 0 / 324.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.002619, allocations: 0 / 324.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.133e-06/0.002627, allocations: 0 / 324.2 MB, free: 8.773 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.000766/0.003393, allocations: 192 kB / 324.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.003442, allocations: 7.984 kB / 324.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.003478, allocations: 0 / 324.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.003503, allocations: 0 / 324.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.003524, allocations: 11.98 kB / 324.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.003532, allocations: 0 / 324.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.003965, allocations: 239.5 kB / 324.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.003972, allocations: 0 / 324.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.003988, allocations: 0.625 kB / 324.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.004261, allocations: 175.6 kB / 324.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004263, allocations: 0 / 324.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004264, allocations: 0 / 324.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004268, allocations: 0 / 324.8 MB, free: 8.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.0002956/0.004564, allocations: 270.2 kB / 325 MB, free: 7.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.004603, allocations: 12.03 kB / 325.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.004631, allocations: 12.86 kB / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.206e-05/0.004703, allocations: 105.8 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.004715, allocations: 4.375 kB / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.004721, allocations: 384 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.988e-05/0.00479, allocations: 51.97 kB / 325.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004798, allocations: 4.188 kB / 325.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.004804, allocations: 384 / 325.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004809, allocations: 384 / 325.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.004832, allocations: 37.56 kB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.182e-05/0.004904, allocations: 57.05 kB / 325.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.004954, allocations: 48.28 kB / 325.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.004973, allocations: 34.66 kB / 325.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-06/0.004977, allocations: 0 / 325.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.005012, allocations: 56.27 kB / 325.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.005013, allocations: 0 / 325.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.005137, allocations: 118.7 kB / 325.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.005173, allocations: 77.11 kB / 325.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.617e-05/0.005209, allocations: 89.86 kB / 325.7 MB, free: 7.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.00522, allocations: 25.7 kB / 325.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.005247, allocations: 84.14 kB / 325.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.005263, allocations: 5.328 kB / 325.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.005289, allocations: 13.7 kB / 325.9 MB, free: 6.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.005382, allocations: 322.8 kB / 326.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.005399, allocations: 25.7 kB / 326.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.005414, allocations: 29.7 kB / 326.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.005459, allocations: 60.27 kB / 326.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005461, allocations: 0 / 326.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.77e-05/0.005528, allocations: 93.03 kB / 326.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.005557, allocations: 29.7 kB / 326.4 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.005562, allocations: 4.094 kB / 326.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.005574, allocations: 0 / 326.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.005576, allocations: 0 / 326.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.005581, allocations: 7.984 kB / 326.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.005595, allocations: 0 / 326.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.0056, allocations: 0 / 326.4 MB, free: 6.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 6.888e-05/0.005669, allocations: 139.5 kB / 326.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-06/0.005678, allocations: 11.91 kB / 326.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-06/0.005688, allocations: 3 kB / 326.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005689, allocations: 0 / 326.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.00569, allocations: 4 kB / 326.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.005693, allocations: 0 / 326.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.445e-05/0.005747, allocations: 66.19 kB / 326.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.00575, allocations: 4 kB / 326.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.005751, allocations: 0 / 326.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.005752, allocations: 0 / 326.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.005757, allocations: 0 / 326.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.005759, allocations: 7.938 kB / 326.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00576, allocations: 0 / 326.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.018e-05/0.00585, allocations: 116.5 kB / 326.8 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.005857, allocations: 4 kB / 326.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.005873, allocations: 12.02 kB / 326.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.005881, allocations: 0 / 326.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-06/0.005891, allocations: 0 / 326.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.005894, allocations: 0 / 326.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.792e-06/0.005901, allocations: 4.859 kB / 326.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005901, allocations: 0 / 326.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.006166, allocations: 51.88 kB / 326.8 MB, free: 5.777 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.0004311/0.006597, allocations: 196.8 kB / 327 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.006704, allocations: 119.6 kB / 327.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.006707, allocations: 0 / 327.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.006745, allocations: 89.95 kB / 327.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.145e-05/0.006807, allocations: 7.312 kB / 327.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.006978, allocations: 117.3 kB / 327.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.007013, allocations: 59.34 kB / 327.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.691e-06/0.007019, allocations: 0 / 327.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.00707, allocations: 51.38 kB / 327.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00707, allocations: 4.125 kB / 327.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of Templates: time 0.004623/0.01169, allocations: 1.847 MB / 329.3 MB, free: 3.211 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8291604248806834]