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.001673/0.001673, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002257/0.002257, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.428/1.428, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2394/0.2394, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.312e-06/1.312e-06, allocations: 0 / 346.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.61e-05, allocations: 6.312 kB / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001242/0.001268, allocations: 0.5064 MB / 347.4 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.001953, allocations: 353.5 kB / 347.8 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.001967, allocations: 0 / 347.8 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.001978, allocations: 4 kB / 347.8 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.001984, allocations: 0 / 347.8 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007055/0.002689, allocations: 191.5 kB / 348 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.002739, allocations: 3.984 kB / 348 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.002769, allocations: 4 kB / 348 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.002792, allocations: 0 / 348 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.002814, allocations: 7.984 kB / 348 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.002822, allocations: 3.938 kB / 348 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.003091, allocations: 203.6 kB / 348.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.003099, allocations: 0 / 348.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.003124, allocations: 0 / 348.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.003332, allocations: 183.5 kB / 348.3 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003335, allocations: 0 / 348.3 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003335, allocations: 0 / 348.3 MB, free: 8.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.00334, allocations: 4 kB / 348.4 MB, free: 8.391 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.0002749/0.003615, allocations: 287.9 kB / 348.6 MB, free: 8.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.003651, allocations: 16.02 kB / 348.7 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.003697, allocations: 4.938 kB / 348.7 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.658e-05/0.003743, allocations: 101.8 kB / 348.8 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.003756, allocations: 384 / 348.8 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.003765, allocations: 4.375 kB / 348.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.899e-05/0.003854, allocations: 59.91 kB / 348.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.003862, allocations: 192 / 348.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.00387, allocations: 384 / 348.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.003874, allocations: 4.375 kB / 348.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.003895, allocations: 29.64 kB / 348.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.864e-05/0.003974, allocations: 105.3 kB / 349 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.004018, allocations: 40.28 kB / 349 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.004033, allocations: 30.56 kB / 349 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.004041, allocations: 4.062 kB / 349 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.004072, allocations: 60.2 kB / 349.1 MB, free: 7.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.004073, allocations: 4 kB / 349.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.00424, allocations: 118.8 kB / 349.2 MB, free: 7.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.004268, allocations: 81.11 kB / 349.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.151e-05/0.00429, allocations: 89.86 kB / 349.4 MB, free: 7.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.004296, allocations: 25.7 kB / 349.4 MB, free: 7.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.156e-05/0.004308, allocations: 80.14 kB / 349.5 MB, free: 7.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.004322, allocations: 0 / 349.5 MB, free: 7.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.004345, allocations: 17.72 kB / 349.5 MB, free: 7.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.004393, allocations: 318.8 kB / 349.8 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.004408, allocations: 25.7 kB / 349.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.00442, allocations: 33.83 kB / 349.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.004456, allocations: 68.14 kB / 349.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004458, allocations: 0 / 349.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.308e-05/0.004511, allocations: 89.09 kB / 350 MB, free: 6.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.004531, allocations: 33.7 kB / 350 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004536, allocations: 0 / 350 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.004553, allocations: 0 / 350 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.004554, allocations: 0 / 350 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.004558, allocations: 0 / 350 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.004574, allocations: 7.938 kB / 350.1 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.00458, allocations: 4.094 kB / 350.1 MB, free: 6.402 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.384e-05/0.004624, allocations: 131.5 kB / 350.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.004633, allocations: 7.984 kB / 350.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-06/0.004642, allocations: 10.92 kB / 350.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.004643, allocations: 0 / 350.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.004647, allocations: 0 / 350.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004649, allocations: 0 / 350.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.027e-05/0.004689, allocations: 109.2 kB / 350.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.00469, allocations: 0 / 350.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.004691, allocations: 0 / 350.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004692, allocations: 4 kB / 350.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.004698, allocations: 0 / 350.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004699, allocations: 0 / 350.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.004701, allocations: 7.984 kB / 350.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.952e-05/0.00477, allocations: 120.5 kB / 350.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-06/0.004773, allocations: 0 / 350.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.004786, allocations: 3.984 kB / 350.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.004794, allocations: 0 / 350.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.004809, allocations: 4 kB / 350.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.004812, allocations: 0 / 350.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.241e-05/0.004824, allocations: 75.28 kB / 350.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004824, allocations: 7.969 kB / 350.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002734/0.005098, allocations: 51.88 kB / 350.6 MB, free: 5.801 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.0003619/0.00546, allocations: 205.2 kB / 350.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.00554, allocations: 110.8 kB / 350.9 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.005542, allocations: 0 / 350.9 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.005574, allocations: 85.09 kB / 351 MB, free: 5.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.005705, allocations: 128 / 351 MB, free: 5.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000155/0.00586, allocations: 112 kB / 351.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.005886, allocations: 55.36 kB / 351.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.999e-06/0.005891, allocations: 0 / 351.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.005901, allocations: 8.5 kB / 351.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005902, allocations: 0 / 351.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of Templates: time 0.003934/0.009836, allocations: 1.479 MB / 352.6 MB, free: 3.668 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.75220472109504]