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.0007864/0.0007862, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.0009061/0.0009062, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.303/1.303, allocations: 223.3 MB / 243 MB, free: 8 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.25 MB / 338.3 MB, free: 2.605 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005744/0.0005746, allocations: 15.94 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1591, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0008596/0.1601, allocations: 217.3 kB / 473.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1615, allocations: 374.5 kB / 473.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.1616, allocations: 0 / 473.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.1616, allocations: 3.938 kB / 473.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.1616, allocations: 0 / 473.5 MB, free: 12.74 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.001185/0.1628, allocations: 162.1 kB / 473.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.1629, allocations: 0 / 473.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.163, allocations: 4 kB / 473.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.746e-05/0.163, allocations: 4 kB / 473.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.163, allocations: 7.938 kB / 473.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.1631, allocations: 0 / 473.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.1636, allocations: 171.7 kB / 473.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.1636, allocations: 0 / 473.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1637, allocations: 25.7 kB / 473.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.164, allocations: 111.8 kB / 474 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.164, allocations: 0 / 474 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.164, allocations: 0 / 474 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.164, allocations: 0 / 474 MB, free: 12.26 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.0004712/0.1645, allocations: 361.3 kB / 474.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1646, allocations: 8.031 kB / 474.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1646, allocations: 8.875 kB / 474.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1648, allocations: 164.4 kB / 474.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1648, allocations: 4.312 kB / 474.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1648, allocations: 384 / 474.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.165, allocations: 38.2 kB / 474.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.165, allocations: 192 / 474.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.165, allocations: 7.938 kB / 474.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.165, allocations: 4 kB / 474.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.1651, allocations: 3.984 kB / 474.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1653, allocations: 145.7 kB / 474.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.1654, allocations: 18.52 kB / 474.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.1654, allocations: 4.859 kB / 474.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.1654, allocations: 4.094 kB / 474.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/0.1655, allocations: 60.27 kB / 474.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.1655, allocations: 4 kB / 474.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002528/0.1658, allocations: 67.33 kB / 474.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.1659, allocations: 77.11 kB / 474.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.166, allocations: 89.86 kB / 475 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.166, allocations: 25.7 kB / 475 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.1661, allocations: 80.14 kB / 475.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1661, allocations: 4 kB / 475.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1662, allocations: 13.72 kB / 475.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1664, allocations: 319 kB / 475.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.1664, allocations: 3.938 kB / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.1664, allocations: 0 / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.1665, allocations: 60.27 kB / 475.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1665, allocations: 0 / 475.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001222/0.1667, allocations: 63.41 kB / 475.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.1667, allocations: 33.69 kB / 475.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1667, allocations: 0 / 475.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1668, allocations: 12.03 kB / 475.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-06/0.1668, allocations: 0 / 475.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1668, allocations: 0 / 475.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.1668, allocations: 0 / 475.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1669, allocations: 0 / 475.6 MB, free: 10.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.167, allocations: 139.5 kB / 475.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.167, allocations: 3.938 kB / 475.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.1671, allocations: 11.02 kB / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1671, allocations: 0 / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1671, allocations: 4 kB / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1671, allocations: 3.984 kB / 475.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1673, allocations: 145.7 kB / 475.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1673, allocations: 0 / 475.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.1673, allocations: 0 / 475.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1673, allocations: 0 / 475.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1673, allocations: 3.938 kB / 475.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1674, allocations: 3.938 kB / 475.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1674, allocations: 4 kB / 475.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.1676, allocations: 90.83 kB / 476 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.1676, allocations: 81.11 kB / 476.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1677, allocations: 7.938 kB / 476.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.1677, allocations: 0 / 476.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.1677, allocations: 3.984 kB / 476.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1678, allocations: 3.938 kB / 476.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.1678, allocations: 75.28 kB / 476.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1678, allocations: 0 / 476.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.1683, allocations: 56 kB / 476.2 MB, free: 9.598 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 (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.0006165/0.1689, allocations: 200.1 kB / 476.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.1691, allocations: 55.41 kB / 476.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1691, allocations: 0 / 476.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.1692, allocations: 55.41 kB / 476.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.1694, allocations: 4 kB / 476.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.1697, allocations: 112.4 kB / 476.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.17, allocations: 0.6731 MB / 477.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.17, allocations: 7.438 kB / 477.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1701, allocations: 0 / 477.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of Templates: time 0.005523/0.1756, allocations: 1.576 MB / 478.9 MB, free: 6.836 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches