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.0009935/0.0009935, 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.0009094/0.0009094, allocations: 165 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 0.9259/0.9259, allocations: 177.2 MB / 205 MB, free: 5.301 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.2516/0.2516, allocations: 34.27 MB / 295.8 MB, free: 0.707 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 2.214e-06/2.214e-06, allocations: 0 / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.911e-05, allocations: 4.703 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001584/0.001613, allocations: 0.4969 MB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.002491, allocations: 390.8 kB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.002507, allocations: 0 / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.002528, allocations: 0 / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-06/0.002535, allocations: 4 kB / 378.9 MB, free: 1.797 MB / 346.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.0008727/0.003408, allocations: 215.3 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.581e-05/0.003463, allocations: 7.969 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.003497, allocations: 0 / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.003523, allocations: 4 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.065e-05/0.003544, allocations: 0 / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.003552, allocations: 0 / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.004068, allocations: 227.5 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.004078, allocations: 0 / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.004103, allocations: 0 / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.004318, allocations: 183.5 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.004322, allocations: 4 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.004323, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.004328, allocations: 0 / 379.5 MB, free: 1.168 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.0002805/0.004608, allocations: 397.8 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.004642, allocations: 8.031 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.004678, allocations: 4.938 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.054e-05/0.004729, allocations: 108.6 kB / 380 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.004738, allocations: 384 / 380 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.004745, allocations: 384 / 380 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.488e-05/0.00482, allocations: 59.95 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.004825, allocations: 4.188 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.004833, allocations: 384 / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004839, allocations: 384 / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.004856, allocations: 33.64 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.554e-05/0.004931, allocations: 108.6 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.171e-05/0.004973, allocations: 56.73 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.004992, allocations: 37.38 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-06/0.004996, allocations: 0 / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.005028, allocations: 63.16 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.005029, allocations: 0 / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001623/0.005191, allocations: 118.8 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.005225, allocations: 81.09 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.582e-05/0.005261, allocations: 142.2 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.005269, allocations: 29.7 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.005295, allocations: 126.9 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.00531, allocations: 8.234 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.005329, allocations: 15.38 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.005442, allocations: 0.4922 MB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.005458, allocations: 25.7 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.00547, allocations: 25.7 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.874e-05/0.005519, allocations: 71.27 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005521, allocations: 0 / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.135e-05/0.005572, allocations: 93.11 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.005598, allocations: 33.7 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005602, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.005613, allocations: 3.938 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.005616, allocations: 3.984 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.00562, allocations: 3.938 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.005633, allocations: 3.938 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005638, allocations: 0 / 381.7 MB, free: 14.73 MB / 362.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.152e-05/0.0057, allocations: 186.3 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-06/0.005704, allocations: 0 / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-06/0.005711, allocations: 7 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005712, allocations: 0 / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.005715, allocations: 0 / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005717, allocations: 0 / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.948e-05/0.005767, allocations: 112.6 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.005768, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.005768, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.005769, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.005774, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005775, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005775, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.161e-05/0.005847, allocations: 135.7 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.005852, allocations: 7.984 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.005863, allocations: 0 / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-06/0.005868, allocations: 0 / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-06/0.005878, allocations: 0 / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.005881, allocations: 4 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.005908, allocations: 123.2 kB / 382.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005908, allocations: 0 / 382.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.006094, allocations: 55.89 kB / 382.3 MB, free: 14.02 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.0003217/0.006416, allocations: 219.5 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.006502, allocations: 114.5 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006504, allocations: 0 / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.006534, allocations: 92.78 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.555e-05/0.006619, allocations: 4.125 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.006782, allocations: 121.6 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.006809, allocations: 51.36 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.36e-06/0.006815, allocations: 0 / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.006828, allocations: 8.5 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006829, allocations: 0 / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Templates: time 0.003301/0.01013, allocations: 1.854 MB / 384.7 MB, free: 11.46 MB / 362.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 -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.9287414490245283]