Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 174.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006935/0.0006936, allocations: 94.33 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2807/0.2807, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.0947, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005149/0.09526, allocations: 228.3 kB / 491 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006/0.09587, allocations: 329.6 kB / 491.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.153e-05/0.09589, allocations: 0 / 491.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.516e-06/0.09591, allocations: 4 kB / 491.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.09592, allocations: 0 / 491.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.0965, allocations: 147.7 kB / 491.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.454e-05/0.09653, allocations: 0 / 491.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.959e-05/0.09657, allocations: 0 / 491.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.09659, allocations: 3.984 kB / 491.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.303e-05/0.09662, allocations: 8 kB / 491.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-06/0.09663, allocations: 0 / 491.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.09685, allocations: 143.7 kB / 491.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.09687, allocations: 3.984 kB / 491.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.0969, allocations: 29.7 kB / 491.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.09705, allocations: 95.83 kB / 491.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.09706, allocations: 0 / 491.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09706, allocations: 3.938 kB / 491.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.09707, allocations: 0 / 491.8 MB, free: 9.91 MB / 378.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.0002668/0.09734, allocations: 361.3 kB / 492.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.09738, allocations: 12.03 kB / 492.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.09741, allocations: 0.9375 kB / 492.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.09749, allocations: 164.4 kB / 492.3 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.09751, allocations: 384 / 492.3 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.09752, allocations: 384 / 492.3 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.63e-05/0.09759, allocations: 38.2 kB / 492.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.0976, allocations: 192 / 492.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.09761, allocations: 3.938 kB / 492.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.09762, allocations: 0 / 492.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.284e-05/0.09764, allocations: 0 / 492.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.09775, allocations: 153.6 kB / 492.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/0.09778, allocations: 18.56 kB / 492.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.0978, allocations: 12.95 kB / 492.5 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-06/0.09781, allocations: 0 / 492.5 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.09785, allocations: 60.2 kB / 492.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.09786, allocations: 0 / 492.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.098, allocations: 71.33 kB / 492.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.09805, allocations: 81.05 kB / 492.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.899e-05/0.09808, allocations: 89.86 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.09809, allocations: 25.7 kB / 492.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.09812, allocations: 84.27 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.09814, allocations: 4 kB / 493 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-06/0.09815, allocations: 0 / 493 MB, free: 8.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.09824, allocations: 310.8 kB / 493.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-06/0.09825, allocations: 7.938 kB / 493.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/0.09826, allocations: 0 / 493.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.0983, allocations: 64.2 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.09831, allocations: 64 / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.839e-05/0.09837, allocations: 67.39 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.0984, allocations: 29.7 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.09841, allocations: 0 / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.09843, allocations: 7.922 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.09843, allocations: 4 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.09844, allocations: 0 / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.09846, allocations: 4 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.09847, allocations: 0 / 493.4 MB, free: 8 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.09854, allocations: 147.6 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.09855, allocations: 0 / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.787e-06/0.09857, allocations: 7.062 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.09857, allocations: 0 / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.09858, allocations: 0 / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.09859, allocations: 0 / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.791e-05/0.09866, allocations: 153.6 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.09866, allocations: 0 / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.09867, allocations: 0 / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.09867, allocations: 0 / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.09868, allocations: 3.938 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.09869, allocations: 4 kB / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.0987, allocations: 0 / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.882e-05/0.09878, allocations: 90.83 kB / 493.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.09881, allocations: 77.11 kB / 493.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.09883, allocations: 7.938 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-06/0.09884, allocations: 0 / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-06/0.09885, allocations: 0 / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.09886, allocations: 32 / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.466e-05/0.09889, allocations: 80.45 kB / 494 MB, free: 7.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0989, allocations: 0 / 494 MB, free: 7.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.09915, allocations: 55.98 kB / 494.1 MB, free: 7.277 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003209/0.09947, allocations: 179 kB / 494.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.09955, allocations: 63.34 kB / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.09956, allocations: 64 / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.09959, allocations: 63.41 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.09971, allocations: 3.938 kB / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001449/0.09986, allocations: 104.5 kB / 494.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.1, allocations: 0.6692 MB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-06/0.1001, allocations: 7.438 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1001, allocations: 0 / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of Templates: time 0.002507/0.1026, allocations: 1.428 MB / 496.6 MB, free: 4.676 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches