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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 206.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4339/0.4339, allocations: 43.5 MB / 313.5 MB, free: 8.574 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.91 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1405, allocations: 57.78 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001786/0.1423, allocations: 0.5542 MB / 440.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009045/0.1433, allocations: 375.2 kB / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.1433, allocations: 0 / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1433, allocations: 0 / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.1433, allocations: 0 / 440.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.144, allocations: 155.8 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.913e-05/0.1441, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.459e-05/0.1442, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.1442, allocations: 3.938 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.689e-05/0.1442, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.1442, allocations: 4 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.1445, allocations: 155.7 kB / 441 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1445, allocations: 3.984 kB / 441 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.1446, allocations: 3.938 kB / 441 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1448, allocations: 139.7 kB / 441.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1449, allocations: 4 kB / 441.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1449, allocations: 0 / 441.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1449, allocations: 0 / 441.2 MB, free: 13.48 MB / 382.1 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.000444/0.1453, allocations: 365.3 kB / 441.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1454, allocations: 8.031 kB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.1454, allocations: 0.9375 kB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1456, allocations: 164.3 kB / 441.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1456, allocations: 384 / 441.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.1456, allocations: 384 / 441.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1457, allocations: 38.25 kB / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1457, allocations: 192 / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1457, allocations: 3.938 kB / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1458, allocations: 3.938 kB / 441.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.1458, allocations: 4 kB / 441.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.146, allocations: 153.6 kB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.462e-05/0.146, allocations: 18.61 kB / 441.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.146, allocations: 12.84 kB / 441.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.1461, allocations: 7.938 kB / 442 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.1461, allocations: 56.27 kB / 442 MB, free: 12.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1461, allocations: 0 / 442 MB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002083/0.1463, allocations: 67.34 kB / 442.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1464, allocations: 81.09 kB / 442.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.1465, allocations: 89.86 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1465, allocations: 33.64 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.1466, allocations: 84.27 kB / 442.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1466, allocations: 0 / 442.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1466, allocations: 9.719 kB / 442.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1468, allocations: 314.8 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.1468, allocations: 0 / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.1468, allocations: 4 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.1469, allocations: 60.27 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1469, allocations: 0 / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001263/0.147, allocations: 67.45 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.1471, allocations: 29.7 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1471, allocations: 0 / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1471, allocations: 3.938 kB / 442.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/0.1471, allocations: 3.938 kB / 442.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1471, allocations: 4 kB / 442.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.1472, allocations: 0 / 442.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.1472, allocations: 0 / 442.8 MB, free: 11.55 MB / 382.1 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 9.092e-05/0.1473, allocations: 143.5 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-06/0.1473, allocations: 8.031 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.521e-05/0.1473, allocations: 7.062 kB / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1473, allocations: 0 / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1473, allocations: 0 / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1473, allocations: 0 / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.701e-05/0.1474, allocations: 149.7 kB / 443.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1474, allocations: 0 / 443.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.1474, allocations: 3.938 kB / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1474, allocations: 0 / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1475, allocations: 3.938 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.1475, allocations: 4 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1475, allocations: 4 kB / 443.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.1476, allocations: 90.83 kB / 443.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.1476, allocations: 77.11 kB / 443.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1476, allocations: 7.875 kB / 443.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.1477, allocations: 4 kB / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.1477, allocations: 0 / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1477, allocations: 3.984 kB / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.015e-05/0.1477, allocations: 83.25 kB / 443.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1477, allocations: 0 / 443.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.148, allocations: 51.98 kB / 443.5 MB, free: 10.82 MB / 382.1 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.0003783/0.1484, allocations: 174.7 kB / 443.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.1485, allocations: 59.41 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1485, allocations: 0 / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.1486, allocations: 59.47 kB / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1487, allocations: 19.45 kB / 443.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.1489, allocations: 78.7 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1492, allocations: 0.6731 MB / 444.5 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.232e-06/0.1492, allocations: 0 / 444.5 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.1492, allocations: 7.438 kB / 444.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1492, allocations: 0 / 444.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of Templates: time 0.005361/0.1546, allocations: 1.437 MB / 446 MB, free: 8.238 MB / 382.1 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