Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 96.41 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 183.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006324/0.1409, allocations: 209.2 kB / 471.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007683/0.1417, allocations: 346.7 kB / 472 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.1417, allocations: 4 kB / 472 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.1417, allocations: 0 / 472 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.985e-06/0.1417, allocations: 0 / 472 MB, free: 13.21 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function ‘ModelicaTest.Math.BooleanFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.1424, allocations: 143.6 kB / 472.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.006e-05/0.1424, allocations: 7.969 kB / 472.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.1425, allocations: 0 / 472.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.1425, allocations: 8 kB / 472.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.1425, allocations: 0 / 472.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.1425, allocations: 0 / 472.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.1428, allocations: 143.7 kB / 472.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-06/0.1428, allocations: 11.98 kB / 472.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.1428, allocations: 25.7 kB / 472.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.143, allocations: 99.81 kB / 472.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.143, allocations: 0 / 472.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.143, allocations: 0 / 472.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.143, allocations: 0 / 472.4 MB, free: 12.77 MB / 350.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.0003327/0.1433, allocations: 369.1 kB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1434, allocations: 8.031 kB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.1434, allocations: 4 kB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.1435, allocations: 159.1 kB / 473 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1435, allocations: 4 kB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1435, allocations: 7.984 kB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/0.1436, allocations: 29.66 kB / 473 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1436, allocations: 0 / 473 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1437, allocations: 0 / 473 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1437, allocations: 3.938 kB / 473 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.1437, allocations: 7.938 kB / 473 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.1438, allocations: 145.7 kB / 473.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.1439, allocations: 26.59 kB / 473.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.1439, allocations: 0 / 473.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.1439, allocations: 56.27 kB / 473.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.144, allocations: 0 / 473.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.1441, allocations: 75.34 kB / 473.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1442, allocations: 77.11 kB / 473.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.539e-05/0.1442, allocations: 93.84 kB / 473.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1442, allocations: 29.83 kB / 473.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.1443, allocations: 80.14 kB / 473.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.1443, allocations: 4 kB / 473.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-06/0.1443, allocations: 0 / 473.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.1444, allocations: 310.8 kB / 473.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-06/0.1444, allocations: 0 / 473.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.1444, allocations: 0 / 473.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.1445, allocations: 29.7 kB / 473.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1445, allocations: 0 / 473.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.598e-05/0.1445, allocations: 75.39 kB / 474 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.1446, allocations: 33.64 kB / 474 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1446, allocations: 0 / 474 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1446, allocations: 3.953 kB / 474 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.1446, allocations: 0 / 474 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1446, allocations: 0 / 474 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.1446, allocations: 4 kB / 474 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1446, allocations: 0 / 474 MB, free: 10.91 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.1447, allocations: 132.1 kB / 474.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.1447, allocations: 8.031 kB / 474.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.312e-05/0.1448, allocations: 11.06 kB / 474.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.1448, allocations: 0 / 474.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1448, allocations: 3.953 kB / 474.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1448, allocations: 0 / 474.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.181e-05/0.1449, allocations: 145.7 kB / 474.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1449, allocations: 0 / 474.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1449, allocations: 4 kB / 474.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.1449, allocations: 0 / 474.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1449, allocations: 0 / 474.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1449, allocations: 7.984 kB / 474.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1449, allocations: 0 / 474.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/0.145, allocations: 94.73 kB / 474.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.1451, allocations: 77.11 kB / 474.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1451, allocations: 7.922 kB / 474.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-06/0.1451, allocations: 0 / 474.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.1451, allocations: 8 kB / 474.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1451, allocations: 0 / 474.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.638e-05/0.1451, allocations: 83.27 kB / 474.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1452, allocations: 0 / 474.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.1454, allocations: 56 kB / 474.6 MB, free: 10.18 MB / 350.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 (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.0003712/0.1458, allocations: 187.1 kB / 474.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.759e-05/0.1459, allocations: 55.41 kB / 474.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1459, allocations: 4.062 kB / 474.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.146, allocations: 63.33 kB / 475 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.907e-05/0.146, allocations: 7.938 kB / 475 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001575/0.1462, allocations: 74.98 kB / 475 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1464, allocations: 0.6731 MB / 475.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.841e-06/0.1464, allocations: 0 / 475.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.1464, allocations: 11.44 kB / 475.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1464, allocations: 0 / 475.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of Templates: time 0.003807/0.1503, allocations: 1.49 MB / 477.2 MB, free: 7.535 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches