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.0009843/0.0009843, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.000986/0.000986, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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.989/0.989, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.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.142/0.142, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.413e-06/1.413e-06, allocations: 0 / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.291e-05, allocations: 2.312 kB / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001052/0.001075, allocations: 0.5092 MB / 299.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000602/0.001677, allocations: 359.6 kB / 299.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.001691, allocations: 0 / 299.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.001702, allocations: 4 kB / 299.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.518e-06/0.001707, allocations: 0 / 299.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.002238, allocations: 195.4 kB / 300.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.396e-05/0.002272, allocations: 3.938 kB / 300.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.002304, allocations: 7.984 kB / 300.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.002324, allocations: 4 kB / 300.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.262e-05/0.002336, allocations: 0 / 300.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-06/0.002341, allocations: 0 / 300.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.002559, allocations: 207.5 kB / 300.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-06/0.002565, allocations: 0 / 300.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.003e-05/0.002575, allocations: 3.938 kB / 300.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.002735, allocations: 171.6 kB / 300.5 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.002738, allocations: 3.984 kB / 300.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002738, allocations: 0 / 300.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.002741, allocations: 0 / 300.5 MB, free: 0.7773 MB / 282.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.0001747/0.002916, allocations: 270.3 kB / 300.8 MB, free: 492 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.481e-05/0.00294, allocations: 16.03 kB / 300.8 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.356e-05/0.002954, allocations: 0.9375 kB / 300.8 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.271e-05/0.002997, allocations: 101.8 kB / 300.9 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-06/0.003002, allocations: 4.312 kB / 300.9 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.003008, allocations: 4.375 kB / 300.9 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.482e-05/0.003043, allocations: 51.97 kB / 300.9 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-06/0.003046, allocations: 192 / 300.9 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-06/0.003051, allocations: 8.359 kB / 300.9 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.003055, allocations: 384 / 300.9 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.45e-05/0.00307, allocations: 29.64 kB / 301 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.651e-05/0.003126, allocations: 61.05 kB / 301 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.003165, allocations: 52.16 kB / 301.1 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.003183, allocations: 34.66 kB / 301.1 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-06/0.003185, allocations: 0 / 301.1 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1347/0.1378, allocations: 56.27 kB / 301.2 MB, free: 19.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.1378, allocations: 0 / 301.2 MB, free: 19.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.138, allocations: 111.4 kB / 301.3 MB, free: 19.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.138, allocations: 79.22 kB / 301.4 MB, free: 19.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.867e-05/0.138, allocations: 90.67 kB / 301.4 MB, free: 19.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-06/0.138, allocations: 25.7 kB / 301.5 MB, free: 19.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.177e-06/0.138, allocations: 82.14 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.138, allocations: 2.469 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.1381, allocations: 13.42 kB / 301.6 MB, free: 19.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.1381, allocations: 323.8 kB / 301.9 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.1381, allocations: 27.66 kB / 301.9 MB, free: 18.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.1381, allocations: 31.62 kB / 301.9 MB, free: 18.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.1382, allocations: 62.89 kB / 302 MB, free: 18.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1382, allocations: 0 / 302 MB, free: 18.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.318e-05/0.1382, allocations: 86.52 kB / 302.1 MB, free: 18.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1382, allocations: 33.23 kB / 302.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1382, allocations: 2.438 kB / 302.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1382, allocations: 0 / 302.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-06/0.1382, allocations: 0.9844 kB / 302.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1382, allocations: 2.375 kB / 302.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.1382, allocations: 4.781 kB / 302.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1383, allocations: 0 / 302.1 MB, free: 18.65 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 3.985e-05/0.1383, allocations: 138.7 kB / 302.3 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-06/0.1383, allocations: 4.781 kB / 302.3 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.092e-05/0.1383, allocations: 5.953 kB / 302.3 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1383, allocations: 0.7812 kB / 302.3 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1383, allocations: 1 kB / 302.3 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1383, allocations: 0 / 302.3 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.759e-05/0.1384, allocations: 61.36 kB / 302.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1384, allocations: 1.781 kB / 302.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.1384, allocations: 0.7031 kB / 302.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.1384, allocations: 1.656 kB / 302.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.1384, allocations: 5.875 kB / 302.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1384, allocations: 6.484 kB / 302.4 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.6e-07/0.1384, allocations: 0 / 302.4 MB, free: 18.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.649e-05/0.1384, allocations: 114.7 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.1384, allocations: 0.6562 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1384, allocations: 7.25 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-06/0.1384, allocations: 2.125 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.1384, allocations: 1.406 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.1384, allocations: 3.172 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.979e-06/0.1384, allocations: 5.797 kB / 302.5 MB, free: 18.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1384, allocations: 0.6562 kB / 302.5 MB, free: 18.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.1386, allocations: 50.44 kB / 302.5 MB, free: 18.28 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.0002982/0.1389, allocations: 184.4 kB / 302.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.032e-05/0.139, allocations: 119.7 kB / 302.8 MB, free: 18.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.139, allocations: 0 / 302.8 MB, free: 18.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.139, allocations: 86.86 kB / 302.9 MB, free: 17.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.167e-05/0.1391, allocations: 7.406 kB / 302.9 MB, free: 17.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001253/0.1392, allocations: 115 kB / 303 MB, free: 17.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.607e-05/0.1392, allocations: 52.72 kB / 303.1 MB, free: 17.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.1392, allocations: 2.594 kB / 303.1 MB, free: 17.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1392, allocations: 54.27 kB / 303.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1392, allocations: 0 / 303.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of Templates: time 0.003547/0.1428, allocations: 1.725 MB / 304.9 MB, free: 17.61 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.025171468965709]