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.001394/0.001394, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00116/0.00116, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.645 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.2508/0.2508, allocations: 32.8 MB / 294.3 MB, free: 1.293 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.963e-06/1.963e-06, allocations: 0 / 376 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.731e-05, allocations: 2.312 kB / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001169/0.001196, allocations: 0.5123 MB / 376.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.00185, allocations: 382.8 kB / 376.9 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.001865, allocations: 4 kB / 376.9 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.001882, allocations: 0 / 376.9 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.001888, allocations: 0 / 376.9 MB, free: 3.816 MB / 346.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.0006625/0.002551, allocations: 211.4 kB / 377.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.35e-05/0.002594, allocations: 0 / 377.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.919e-05/0.002623, allocations: 0 / 377.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.002646, allocations: 0 / 377.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.949e-05/0.002666, allocations: 4 kB / 377.1 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.002673, allocations: 3.938 kB / 377.1 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.002964, allocations: 223.5 kB / 377.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.002973, allocations: 3.984 kB / 377.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.002991, allocations: 8 kB / 377.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.003197, allocations: 179.5 kB / 377.5 MB, free: 3.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003199, allocations: 0 / 377.5 MB, free: 3.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0032, allocations: 0 / 377.5 MB, free: 3.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.003205, allocations: 0 / 377.5 MB, free: 3.195 MB / 346.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.0002959/0.003501, allocations: 393.9 kB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.003538, allocations: 8.031 kB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.003574, allocations: 0.9375 kB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.5e-05/0.003629, allocations: 104.6 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.00364, allocations: 8.359 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.003651, allocations: 4.312 kB / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.121e-05/0.003732, allocations: 63.97 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003741, allocations: 4.172 kB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.003749, allocations: 384 / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.003755, allocations: 384 / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.003771, allocations: 29.64 kB / 378.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.005e-05/0.003851, allocations: 108.6 kB / 378.2 MB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.003893, allocations: 52.75 kB / 378.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.003913, allocations: 41.42 kB / 378.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-06/0.003917, allocations: 0 / 378.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.00395, allocations: 67.09 kB / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.00395, allocations: 3.938 kB / 378.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.004101, allocations: 118.8 kB / 378.5 MB, free: 2.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.004137, allocations: 77.11 kB / 378.6 MB, free: 1.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.191e-05/0.004179, allocations: 142.2 kB / 378.7 MB, free: 1.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.004188, allocations: 25.7 kB / 378.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.004215, allocations: 126.9 kB / 378.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.004232, allocations: 4.297 kB / 378.9 MB, free: 1.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.004259, allocations: 23.38 kB / 378.9 MB, free: 1.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.004369, allocations: 496.1 kB / 379.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.004389, allocations: 37.77 kB / 379.4 MB, free: 1.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.004401, allocations: 29.69 kB / 379.4 MB, free: 1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.004448, allocations: 63.09 kB / 379.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.00445, allocations: 0 / 379.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.077e-05/0.004511, allocations: 89.11 kB / 379.6 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.004538, allocations: 33.69 kB / 379.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004542, allocations: 0 / 379.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.004557, allocations: 0 / 379.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/0.00456, allocations: 4 kB / 379.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.004565, allocations: 96 / 379.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.004577, allocations: 7.938 kB / 379.6 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.004582, allocations: 0 / 379.6 MB, free: 0.7656 MB / 346.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.877e-05/0.004651, allocations: 186.2 kB / 379.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-06/0.004656, allocations: 0 / 379.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-06/0.004665, allocations: 3 kB / 379.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.004668, allocations: 3.984 kB / 379.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004671, allocations: 0 / 379.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.004674, allocations: 4 kB / 379.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.74e-05/0.004731, allocations: 116.6 kB / 379.9 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004732, allocations: 0 / 379.9 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.004733, allocations: 4 kB / 379.9 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.004735, allocations: 0 / 379.9 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.004741, allocations: 4 kB / 379.9 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.004742, allocations: 0 / 379.9 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.004743, allocations: 0 / 379.9 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.393e-05/0.004827, allocations: 131.8 kB / 380.1 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.004831, allocations: 4 kB / 380.1 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.004845, allocations: 7.938 kB / 380.1 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-06/0.00485, allocations: 0 / 380.1 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.004863, allocations: 7.922 kB / 380.1 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.004865, allocations: 4.031 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of sorting global known variables: time 2.986e-05/0.004894, allocations: 119.2 kB / 380.2 MB, free: 100 kB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004894, allocations: 0 / 380.2 MB, free: 100 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.005093, allocations: 51.88 kB / 380.3 MB, free: 48 kB / 346.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.0003756/0.005468, allocations: 201.2 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.005842, allocations: 118.5 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.005844, allocations: 0 / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.005873, allocations: 96.84 kB / 380.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.263e-05/0.005966, allocations: 1.875 kB / 380.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.006141, allocations: 113.7 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.006173, allocations: 55.34 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.302e-06/0.006179, allocations: 4 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.006194, allocations: 12.44 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.006195, allocations: 0 / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003271/0.009466, allocations: 1.592 MB / 382.4 MB, free: 13.76 MB / 362.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 -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: 3.173333879094571]