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.0009263/0.0009264, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009468/0.0009467, allocations: 183.8 kB / 16.92 MB, free: 6.934 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.598/1.598, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.4082/0.4082, allocations: 43.56 MB / 315 MB, free: 9.078 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.0005244/0.0005245, allocations: 12.56 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1588, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.000718/0.1595, allocations: 224.4 kB / 443.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.1604, allocations: 351.4 kB / 444 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-06/0.1604, allocations: 0 / 444 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1605, allocations: 0 / 444 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.308e-06/0.1605, allocations: 3.938 kB / 444 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.1611, allocations: 143.8 kB / 444.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.61e-05/0.1612, allocations: 0 / 444.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.1612, allocations: 3.984 kB / 444.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.1612, allocations: 8 kB / 444.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.298e-05/0.1613, allocations: 0 / 444.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.1613, allocations: 0 / 444.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.1616, allocations: 159.7 kB / 444.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.1616, allocations: 3.984 kB / 444.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1616, allocations: 29.64 kB / 444.3 MB, free: 12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1619, allocations: 143.7 kB / 444.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1619, allocations: 0 / 444.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1619, allocations: 0 / 444.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1619, allocations: 0 / 444.5 MB, free: 11.86 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.0003719/0.1623, allocations: 365.3 kB / 444.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1623, allocations: 12.03 kB / 444.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.1623, allocations: 0.9375 kB / 444.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.757e-05/0.1624, allocations: 160.4 kB / 445 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1625, allocations: 384 / 445 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1625, allocations: 384 / 445 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.1626, allocations: 34.2 kB / 445 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1626, allocations: 192 / 445 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1626, allocations: 3.938 kB / 445.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1626, allocations: 3.938 kB / 445.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1627, allocations: 15.97 kB / 445.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.1628, allocations: 149.6 kB / 445.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.901e-05/0.1628, allocations: 14.58 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.1629, allocations: 8.953 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.1629, allocations: 0 / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.1629, allocations: 60.2 kB / 445.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1629, allocations: 4 kB / 445.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.1631, allocations: 75.31 kB / 445.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.1632, allocations: 77.11 kB / 445.5 MB, free: 10.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.1633, allocations: 89.86 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1633, allocations: 25.7 kB / 445.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.1633, allocations: 84.14 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1633, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1634, allocations: 9.719 kB / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1635, allocations: 319 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.1635, allocations: 0 / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.1635, allocations: 4 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.1636, allocations: 64.2 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1636, allocations: 0 / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.539e-05/0.1637, allocations: 63.41 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.1637, allocations: 37.69 kB / 446.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1637, allocations: 0 / 446.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1637, allocations: 4.031 kB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.1637, allocations: 4 kB / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1638, allocations: 0 / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.1638, allocations: 0 / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.1638, allocations: 0 / 446.1 MB, free: 9.934 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 8.204e-05/0.1639, allocations: 139.5 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.1639, allocations: 3.938 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.1639, allocations: 7.062 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.1639, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1639, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1639, allocations: 11.98 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.164, allocations: 141.7 kB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1641, allocations: 0 / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-06/0.1641, allocations: 7.875 kB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1641, allocations: 0 / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1641, allocations: 7.938 kB / 446.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1641, allocations: 0 / 446.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1641, allocations: 0 / 446.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.1642, allocations: 90.83 kB / 446.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.1642, allocations: 81.11 kB / 446.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1643, allocations: 3.938 kB / 446.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.1643, allocations: 0 / 446.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.1643, allocations: 3.984 kB / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1643, allocations: 0 / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.1643, allocations: 79.28 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1643, allocations: 0 / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1646, allocations: 44 kB / 446.8 MB, free: 9.215 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.0004051/0.165, allocations: 190.7 kB / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.959e-05/0.1651, allocations: 63.33 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1652, allocations: 0 / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.1652, allocations: 55.41 kB / 447.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1653, allocations: 3.938 kB / 447.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.1655, allocations: 90.77 kB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1658, allocations: 0.6731 MB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.021e-06/0.1658, allocations: 0 / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.1658, allocations: 11.44 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1658, allocations: 3.938 kB / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of Templates: time 0.00406/0.1699, allocations: 1.421 MB / 449.3 MB, free: 6.629 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