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/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_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.791/1.791, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009868/0.0009871, allocations: 98.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2383/0.2383, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 58.87 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4933/0.6503, allocations: 84.96 MB / 0.5617 GB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.6506, allocations: 63.97 kB / 0.5618 GB, free: 14.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007075/0.6577, allocations: 2.167 MB / 0.5639 GB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.6578, allocations: 0 / 0.5639 GB, free: 12.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.6578, allocations: 3.938 kB / 0.5639 GB, free: 12.95 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.0005849/0.6584, allocations: 364.8 kB / 0.5642 GB, free: 12.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.893e-05/0.6585, allocations: 12.03 kB / 0.5643 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.6585, allocations: 0 / 0.5643 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.6587, allocations: 163 kB / 0.5644 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.6587, allocations: 9.469 kB / 0.5644 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.6587, allocations: 0 / 0.5644 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.6589, allocations: 33.64 kB / 0.5645 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6589, allocations: 3.938 kB / 0.5645 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6589, allocations: 4 kB / 0.5645 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6589, allocations: 0 / 0.5645 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.6589, allocations: 0 / 0.5645 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.6591, allocations: 153.2 kB / 0.5646 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.6592, allocations: 18.56 kB / 0.5646 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.6592, allocations: 0 / 0.5646 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.6593, allocations: 60.36 kB / 0.5647 GB, free: 11.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6593, allocations: 4 kB / 0.5647 GB, free: 11.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002349/0.6595, allocations: 66.84 kB / 0.5647 GB, free: 11.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.6596, allocations: 77.11 kB / 0.5648 GB, free: 11.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.6597, allocations: 88.98 kB / 0.5649 GB, free: 11.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.6597, allocations: 25.7 kB / 0.5649 GB, free: 11.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.6598, allocations: 80.14 kB / 0.565 GB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.6598, allocations: 0 / 0.565 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.6598, allocations: 0 / 0.565 GB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.66, allocations: 319 kB / 0.5653 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.66, allocations: 3.875 kB / 0.5653 GB, free: 11.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.66, allocations: 0 / 0.5653 GB, free: 11.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.66, allocations: 25.7 kB / 0.5653 GB, free: 11.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.66, allocations: 4 kB / 0.5653 GB, free: 11.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.846e-05/0.6601, allocations: 67.28 kB / 0.5654 GB, free: 11.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.6602, allocations: 37.14 kB / 0.5654 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6602, allocations: 0 / 0.5654 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6602, allocations: 0 / 0.5654 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.6602, allocations: 4.094 kB / 0.5654 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.6603, allocations: 0 / 0.5654 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.6603, allocations: 0.8125 kB / 0.5654 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.6603, allocations: 0 / 0.5654 GB, free: 11.13 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 0.0001055/0.6604, allocations: 142.8 kB / 0.5656 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.6604, allocations: 3.953 kB / 0.5656 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.6604, allocations: 7.109 kB / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6605, allocations: 0 / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.6605, allocations: 4 kB / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6605, allocations: 7.938 kB / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.6606, allocations: 146.5 kB / 0.5657 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6606, allocations: 0 / 0.5657 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.6606, allocations: 0 / 0.5657 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6606, allocations: 3.953 kB / 0.5657 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.6606, allocations: 4 kB / 0.5658 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6607, allocations: 0 / 0.5658 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6607, allocations: 7.984 kB / 0.5658 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.6608, allocations: 90.34 kB / 0.5658 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.6608, allocations: 81.11 kB / 0.5659 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.6609, allocations: 7.938 kB / 0.5659 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.6609, allocations: 2.5 kB / 0.5659 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.6609, allocations: 0 / 0.5659 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.6609, allocations: 3.5 kB / 0.5659 GB, free: 10.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.661, allocations: 79.28 kB / 0.566 GB, free: 10.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.661, allocations: 0 / 0.566 GB, free: 10.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.6613, allocations: 51.98 kB / 0.5661 GB, free: 10.4 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.0005252/0.6618, allocations: 196.8 kB / 0.5662 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.6619, allocations: 59.09 kB / 0.5663 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.662, allocations: 0 / 0.5663 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.662, allocations: 59.34 kB / 0.5664 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.731e-05/0.6621, allocations: 0 / 0.5664 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.6623, allocations: 78.88 kB / 0.5664 GB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.6626, allocations: 0.6692 MB / 0.5671 GB, free: 9.266 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.085e-05/0.6627, allocations: 4 kB / 0.5671 GB, free: 9.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.6627, allocations: 7.438 kB / 0.5671 GB, free: 9.254 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6627, allocations: 3.938 kB / 0.5671 GB, free: 9.25 MB / 378.7 MB Notification: Performance of Templates: time 0.005038/0.6677, allocations: 1.701 MB / 0.5688 GB, free: 7.562 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches