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.001023/0.001023, allocations: 93.25 kB / 17.35 MB, free: 6.367 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.001118/0.001119, allocations: 175 kB / 18.25 MB, free: 5.52 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.395/1.395, allocations: 223.3 MB / 242.3 MB, free: 220 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.1946/0.1946, allocations: 44.26 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005568/0.0005568, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 61.93 MB / 472.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0007213/0.1656, allocations: 213.2 kB / 472.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1668, allocations: 378.4 kB / 472.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.1669, allocations: 0 / 472.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.1669, allocations: 0 / 472.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.1669, allocations: 0 / 472.8 MB, free: 12.79 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.0008795/0.1678, allocations: 162.6 kB / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.191e-05/0.1678, allocations: 4 kB / 473 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1679, allocations: 3.984 kB / 473 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.467e-05/0.1679, allocations: 0 / 473 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.544e-05/0.1679, allocations: 7.938 kB / 473 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-06/0.168, allocations: 0 / 473 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.1684, allocations: 175.7 kB / 473.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.1684, allocations: 0 / 473.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.1684, allocations: 25.7 kB / 473.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1688, allocations: 155.7 kB / 473.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1688, allocations: 0 / 473.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1688, allocations: 0 / 473.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1688, allocations: 4 kB / 473.4 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.000399/0.1692, allocations: 369.2 kB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1693, allocations: 8.031 kB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1693, allocations: 0.9375 kB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1694, allocations: 160.4 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1695, allocations: 12.25 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1695, allocations: 4.375 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1696, allocations: 30.27 kB / 473.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1696, allocations: 192 / 473.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1696, allocations: 11.94 kB / 473.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1697, allocations: 0 / 473.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.1697, allocations: 0 / 473.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.1699, allocations: 145.7 kB / 474.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.172e-05/0.17, allocations: 22.55 kB / 474.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.17, allocations: 4.859 kB / 474.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.17, allocations: 3.984 kB / 474.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/0.1701, allocations: 68.33 kB / 474.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.1701, allocations: 0 / 474.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000208/0.1703, allocations: 67.31 kB / 474.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.1704, allocations: 81.11 kB / 474.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.1705, allocations: 89.86 kB / 474.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1705, allocations: 25.7 kB / 474.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.1705, allocations: 80.14 kB / 474.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1706, allocations: 4 kB / 474.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1706, allocations: 13.84 kB / 474.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1708, allocations: 310.8 kB / 474.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.1708, allocations: 7.938 kB / 474.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.1708, allocations: 3.984 kB / 474.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.1709, allocations: 60.27 kB / 474.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1709, allocations: 0 / 474.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.171, allocations: 63.41 kB / 475 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.1711, allocations: 29.7 kB / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1711, allocations: 8.078 kB / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1711, allocations: 3.938 kB / 475 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-06/0.1711, allocations: 0 / 475 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1711, allocations: 3.938 kB / 475 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.1712, allocations: 4 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1712, allocations: 0 / 475 MB, free: 10.32 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.0001181/0.1713, allocations: 135.5 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.1713, allocations: 4 kB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.1714, allocations: 11.02 kB / 475.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1714, allocations: 4 kB / 475.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1714, allocations: 0 / 475.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1714, allocations: 0 / 475.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1715, allocations: 145.7 kB / 475.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1715, allocations: 4 kB / 475.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.1716, allocations: 0 / 475.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1716, allocations: 3.938 kB / 475.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1716, allocations: 3.938 kB / 475.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1716, allocations: 0 / 475.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1716, allocations: 0 / 475.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.1718, allocations: 98.83 kB / 475.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1718, allocations: 77.11 kB / 475.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1718, allocations: 3.938 kB / 475.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.1719, allocations: 4 kB / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.1719, allocations: 0 / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1719, allocations: 7.922 kB / 475.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.172, allocations: 75.28 kB / 475.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.172, allocations: 4.031 kB / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005201/0.1725, allocations: 52 kB / 475.6 MB, free: 9.594 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.0005438/0.173, allocations: 187.4 kB / 475.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.545e-05/0.1732, allocations: 59.34 kB / 475.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1732, allocations: 0 / 475.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.1732, allocations: 55.41 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1734, allocations: 4.125 kB / 475.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.1737, allocations: 82.66 kB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.174, allocations: 0.6692 MB / 476.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.986e-06/0.174, allocations: 4 kB / 476.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.174, allocations: 11.44 kB / 476.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1741, allocations: 0 / 476.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of Templates: time 0.00616/0.1802, allocations: 1.616 MB / 478.3 MB, free: 6.832 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches