Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008361/0.0008361, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001934, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006833/0.0006833, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009246/0.001608, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8141/0.8141, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1394/0.9535, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1312/0.1312, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01866/0.1499, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.767e-05, allocations: 10.19 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001367/0.001385, allocations: 0.5517 MB / 267.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.001938, allocations: 355.6 kB / 268.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.001951, allocations: 0 / 268.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-06/0.001954, allocations: 0 / 268.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.22e-07/0.001955, allocations: 0 / 268.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.002495, allocations: 203.3 kB / 268.5 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.00255, allocations: 4 kB / 268.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.002581, allocations: 4 kB / 268.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.002614, allocations: 3.984 kB / 268.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.067e-05/0.002635, allocations: 0 / 268.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.002642, allocations: 0 / 268.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.002993, allocations: 223.5 kB / 268.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.003001, allocations: 0 / 268.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.197e-05/0.003013, allocations: 0 / 268.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.00323, allocations: 139.6 kB / 268.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.003238, allocations: 4 kB / 268.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003239, allocations: 0 / 268.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.003248, allocations: 0 / 268.8 MB, free: 1.098 MB / 266.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.0002951/0.003544, allocations: 286.1 kB / 269.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.003573, allocations: 8.031 kB / 269.1 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.003605, allocations: 4.938 kB / 269.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.137e-05/0.003666, allocations: 105.8 kB / 269.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.003675, allocations: 384 / 269.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.003687, allocations: 8.359 kB / 269.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.535e-05/0.003752, allocations: 55.91 kB / 269.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.003758, allocations: 192 / 269.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-06/0.003763, allocations: 4.375 kB / 269.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.003767, allocations: 4.375 kB / 269.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.003785, allocations: 29.64 kB / 269.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.613e-05/0.003851, allocations: 57.05 kB / 269.4 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.003892, allocations: 48.25 kB / 269.4 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.003909, allocations: 34.66 kB / 269.5 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-06/0.003912, allocations: 0 / 269.5 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.003948, allocations: 60.2 kB / 269.5 MB, free: 284 kB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.003949, allocations: 0 / 269.5 MB, free: 284 kB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.004079, allocations: 122.8 kB / 269.7 MB, free: 136 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.004158, allocations: 158.2 kB / 269.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.824e-05/0.004197, allocations: 89.86 kB / 269.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.004208, allocations: 25.7 kB / 269.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.004231, allocations: 80.14 kB / 270 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.004252, allocations: 0 / 270 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.004283, allocations: 13.72 kB / 270 MB, free: 15.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.004374, allocations: 314.8 kB / 270.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.004394, allocations: 29.69 kB / 270.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.004413, allocations: 29.7 kB / 270.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.989e-05/0.004463, allocations: 68.39 kB / 270.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.004466, allocations: 4 kB / 270.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.603e-05/0.004532, allocations: 89.03 kB / 270.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.00457, allocations: 37.7 kB / 270.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.004574, allocations: 0 / 270.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.004586, allocations: 0 / 270.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.004588, allocations: 0 / 270.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.00459, allocations: 0 / 270.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.004607, allocations: 0 / 270.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.004614, allocations: 4 kB / 270.6 MB, free: 15.09 MB / 282.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.025e-05/0.004684, allocations: 139.5 kB / 270.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.004692, allocations: 7.984 kB / 270.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-06/0.004701, allocations: 3 kB / 270.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.004702, allocations: 0 / 270.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.004703, allocations: 3.938 kB / 270.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004706, allocations: 0 / 270.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.8e-05/0.004764, allocations: 69.83 kB / 270.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004765, allocations: 0 / 270.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.004765, allocations: 0 / 270.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-06/0.004769, allocations: 0 / 270.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004771, allocations: 0 / 270.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.004775, allocations: 4 kB / 270.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.004777, allocations: 7.984 kB / 270.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.004778, allocations: 0 / 270.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.454e-05/0.004853, allocations: 108.5 kB / 270.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.004867, allocations: 3.984 kB / 270.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.004877, allocations: 7.984 kB / 270.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.004886, allocations: 0 / 270.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.004888, allocations: 0 / 270.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.602e-06/0.004894, allocations: 4.859 kB / 270.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004895, allocations: 0 / 270.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.005126, allocations: 55.91 kB / 271 MB, free: 14.61 MB / 282.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.0003917/0.005518, allocations: 189.9 kB / 271.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.914e-05/0.005617, allocations: 111.7 kB / 271.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.00562, allocations: 0 / 271.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.00566, allocations: 93.95 kB / 271.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.724e-05/0.005717, allocations: 11.92 kB / 271.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001579/0.005875, allocations: 112.2 kB / 271.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.329e-05/0.005909, allocations: 55.34 kB / 271.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.221e-06/0.005915, allocations: 0 / 271.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.005955, allocations: 51.38 kB / 271.6 MB, free: 13.89 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.005955, allocations: 0 / 271.6 MB, free: 13.89 MB / 282.7 MB Notification: Performance of Templates: time 0.003953/0.009909, allocations: 1.839 MB / 273.4 MB, free: 12.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.518445210531354]