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.0009679/0.0009679, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001506/0.001506, allocations: 169.1 kB / 24.82 MB, free: 8.867 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2542/0.2542, allocations: 32.8 MB / 294.6 MB, free: 1.164 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.383e-06/1.383e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.86e-05, allocations: 10.19 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.000973/0.0009916, allocations: 0.5047 MB / 377 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006205/0.001612, allocations: 378.8 kB / 377.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.001629, allocations: 0 / 377.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.001645, allocations: 0 / 377.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.75e-06/0.00165, allocations: 0 / 377.3 MB, free: 3.516 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.0006219/0.002272, allocations: 215.2 kB / 377.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.369e-05/0.002316, allocations: 3.984 kB / 377.6 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.963e-05/0.002346, allocations: 4 kB / 377.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.002375, allocations: 0 / 377.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.971e-05/0.002395, allocations: 0 / 377.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.002403, allocations: 0 / 377.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.002699, allocations: 235.5 kB / 377.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.002706, allocations: 3.938 kB / 377.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.00272, allocations: 0 / 377.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.002905, allocations: 175.6 kB / 378 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002907, allocations: 0 / 378 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002908, allocations: 0 / 378 MB, free: 2.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.002912, allocations: 4 kB / 378 MB, free: 2.887 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.0002728/0.003185, allocations: 393.8 kB / 378.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.003222, allocations: 12.03 kB / 378.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.003244, allocations: 0.9375 kB / 378.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.066e-05/0.003295, allocations: 108.6 kB / 378.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.003305, allocations: 12.31 kB / 378.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-06/0.00331, allocations: 384 / 378.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.092e-05/0.003371, allocations: 51.97 kB / 378.5 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.003378, allocations: 4.188 kB / 378.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-06/0.003383, allocations: 384 / 378.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.003387, allocations: 384 / 378.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.468e-05/0.003402, allocations: 29.64 kB / 378.6 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.356e-05/0.003475, allocations: 97.25 kB / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.003515, allocations: 56.7 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.003532, allocations: 37.48 kB / 378.8 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.003535, allocations: 4 kB / 378.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.003568, allocations: 59.09 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.003568, allocations: 0 / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.003701, allocations: 118.7 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.003733, allocations: 81.11 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.003781, allocations: 146.2 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.00379, allocations: 29.7 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.00382, allocations: 126.9 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.003835, allocations: 4.297 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.003857, allocations: 19.38 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.003972, allocations: 0.4885 MB / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.003987, allocations: 29.69 kB / 379.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.004001, allocations: 29.7 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.004049, allocations: 63.09 kB / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004051, allocations: 0 / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.261e-05/0.004114, allocations: 89.03 kB / 380 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.004142, allocations: 33.7 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.004146, allocations: 0 / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.004157, allocations: 0 / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.004158, allocations: 4.094 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.004162, allocations: 0 / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.004174, allocations: 8 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.004181, allocations: 4 kB / 380.1 MB, free: 492 kB / 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 7.585e-05/0.004257, allocations: 182.2 kB / 380.3 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-06/0.004262, allocations: 4 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.004274, allocations: 6.984 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.004275, allocations: 3.938 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.004277, allocations: 0 / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004279, allocations: 0 / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.085e-05/0.00434, allocations: 101.2 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004341, allocations: 0 / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.004341, allocations: 0 / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.004342, allocations: 0 / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.004347, allocations: 0 / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004347, allocations: 0 / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.004348, allocations: 0 / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.00445, allocations: 139.7 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.004457, allocations: 3.984 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.004468, allocations: 0 / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-06/0.004472, allocations: 0 / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.004486, allocations: 8.031 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.004488, allocations: 3.984 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.004521, allocations: 119.2 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004521, allocations: 0 / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.004709, allocations: 51.88 kB / 380.7 MB, free: 15.79 MB / 362.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.0003277/0.005036, allocations: 200.4 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.00515, allocations: 118.5 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.005152, allocations: 0 / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.005191, allocations: 96.72 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.294e-05/0.005284, allocations: 7.938 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.00544, allocations: 113.7 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.005472, allocations: 55.34 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.322e-06/0.005478, allocations: 3.938 kB / 381.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.00552, allocations: 70.2 kB / 381.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.00552, allocations: 0 / 381.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Templates: time 0.003181/0.008702, allocations: 1.87 MB / 383.2 MB, free: 13.16 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: 2.988683365751058]