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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 81.86 kB / 21.44 MB, free: 3.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 166.5 kB / 24.84 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9173/0.9173, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.14/0.14, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 348.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.84e-05, allocations: 10.25 kB / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009216/0.00094, allocations: 0.5159 MB / 349.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005286/0.001469, allocations: 343.7 kB / 349.7 MB, free: 8.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.001486, allocations: 0 / 349.7 MB, free: 8.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.0015, allocations: 4 kB / 349.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.001506, allocations: 3.938 kB / 349.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.002107, allocations: 199.5 kB / 349.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.002159, allocations: 3.984 kB / 349.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.002195, allocations: 4 kB / 350 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.191e-05/0.002217, allocations: 0 / 350 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.58e-05/0.002233, allocations: 0 / 350 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.002238, allocations: 0 / 350 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.002454, allocations: 207.5 kB / 350.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-06/0.002463, allocations: 4 kB / 350.2 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.002476, allocations: 4 kB / 350.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.002644, allocations: 179.5 kB / 350.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002645, allocations: 0 / 350.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.002646, allocations: 0 / 350.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.00265, allocations: 0 / 350.3 MB, free: 7.75 MB / 282.7 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.0002623/0.002912, allocations: 393.9 kB / 350.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.002953, allocations: 8.031 kB / 350.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.002983, allocations: 0.9375 kB / 350.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.629e-05/0.003039, allocations: 108.6 kB / 350.8 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003052, allocations: 384 / 350.8 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.003059, allocations: 384 / 350.8 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.732e-05/0.003126, allocations: 59.97 kB / 350.9 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.003134, allocations: 4.125 kB / 350.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.00314, allocations: 384 / 350.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.003146, allocations: 4.359 kB / 350.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.00316, allocations: 37.58 kB / 350.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.4e-05/0.003224, allocations: 93.27 kB / 351 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.015e-05/0.003264, allocations: 56.78 kB / 351.1 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.003278, allocations: 33.39 kB / 351.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-06/0.003281, allocations: 0 / 351.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.003307, allocations: 67.16 kB / 351.2 MB, free: 6.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003308, allocations: 4 kB / 351.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.003445, allocations: 118.7 kB / 351.3 MB, free: 6.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.003472, allocations: 81.11 kB / 351.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.476e-05/0.003497, allocations: 142.2 kB / 351.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.003502, allocations: 25.7 kB / 351.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.329e-05/0.003515, allocations: 126.9 kB / 351.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.003532, allocations: 7.938 kB / 351.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.003552, allocations: 23.36 kB / 351.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.003616, allocations: 0.4883 MB / 352.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.003626, allocations: 29.7 kB / 352.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.003635, allocations: 29.83 kB / 352.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.003671, allocations: 63.09 kB / 352.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003673, allocations: 0 / 352.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.952e-05/0.003712, allocations: 93.38 kB / 352.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.003732, allocations: 33.7 kB / 352.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.003736, allocations: 0 / 352.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.003745, allocations: 0 / 352.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.003746, allocations: 4 kB / 352.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.00375, allocations: 0 / 352.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.003761, allocations: 4.094 kB / 352.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.003767, allocations: 0 / 352.4 MB, free: 5.344 MB / 282.7 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 4.207e-05/0.003809, allocations: 190.2 kB / 352.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-06/0.003814, allocations: 3.953 kB / 352.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-06/0.003822, allocations: 3 kB / 352.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.003823, allocations: 0 / 352.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.003824, allocations: 0 / 352.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.003827, allocations: 4 kB / 352.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.297e-05/0.00386, allocations: 97.14 kB / 352.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-07/0.00386, allocations: 0 / 352.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.003861, allocations: 0 / 352.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4e-07/0.003861, allocations: 4 kB / 352.7 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.003865, allocations: 4 kB / 352.7 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.003866, allocations: 3.984 kB / 352.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.003866, allocations: 0 / 352.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.83e-05/0.003914, allocations: 131.8 kB / 352.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.003918, allocations: 3.984 kB / 352.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.003927, allocations: 4 kB / 352.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-06/0.003932, allocations: 0 / 352.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.003942, allocations: 0 / 352.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-06/0.003943, allocations: 0 / 352.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.216e-05/0.003956, allocations: 127.2 kB / 353 MB, free: 4.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.003956, allocations: 0 / 353 MB, free: 4.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.00414, allocations: 47.94 kB / 353.1 MB, free: 4.652 MB / 282.7 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.0002482/0.004389, allocations: 199 kB / 353.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.651e-05/0.004455, allocations: 118.4 kB / 353.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.004456, allocations: 0 / 353.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.004475, allocations: 92.78 kB / 353.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.392e-05/0.004569, allocations: 12.06 kB / 353.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001176/0.004686, allocations: 109.7 kB / 353.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.585e-05/0.004702, allocations: 51.36 kB / 353.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.651e-06/0.004708, allocations: 0 / 353.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.004736, allocations: 74.19 kB / 353.7 MB, free: 3.902 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.004736, allocations: 0 / 353.7 MB, free: 3.902 MB / 282.7 MB Notification: Performance of Templates: time 0.002887/0.007624, allocations: 1.748 MB / 355.4 MB, free: 2.156 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0335007226094604]