Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009035/0.0009035, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001441/0.001441, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.919/0.919, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1343/0.1343, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.021e-05, allocations: 2.312 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009534/0.0009736, allocations: 0.4885 MB / 379.8 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005157/0.001489, allocations: 378.9 kB / 380.1 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.001506, allocations: 7.938 kB / 380.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.001519, allocations: 0 / 380.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.001526, allocations: 0 / 380.1 MB, free: 22.57 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0005878/0.002113, allocations: 211.4 kB / 380.3 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.08e-05/0.002154, allocations: 3.984 kB / 380.3 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.721e-05/0.002181, allocations: 0 / 380.3 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.002203, allocations: 4 kB / 380.3 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.651e-05/0.002219, allocations: 4 kB / 380.3 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-06/0.002225, allocations: 0 / 380.3 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.002483, allocations: 215.5 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-06/0.002491, allocations: 8 kB / 380.6 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.002503, allocations: 7.922 kB / 380.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.002662, allocations: 187.5 kB / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002664, allocations: 0 / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.002665, allocations: 0 / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.002668, allocations: 0 / 380.8 MB, free: 21.94 MB / 314.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.0001956/0.002864, allocations: 389.9 kB / 381.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.002892, allocations: 8.031 kB / 381.1 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.002916, allocations: 0.9375 kB / 381.1 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.543e-05/0.002951, allocations: 108.6 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.00296, allocations: 384 / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-06/0.002965, allocations: 8.375 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.042e-05/0.003015, allocations: 63.89 kB / 381.3 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.003021, allocations: 4.125 kB / 381.3 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-06/0.003025, allocations: 384 / 381.3 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.003029, allocations: 384 / 381.3 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.04e-05/0.00304, allocations: 33.64 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.887e-05/0.003088, allocations: 89.27 kB / 381.4 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.891e-05/0.003117, allocations: 52.8 kB / 381.5 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-06/0.003127, allocations: 37.38 kB / 381.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-06/0.00313, allocations: 3.938 kB / 381.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.003149, allocations: 71.14 kB / 381.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.003149, allocations: 0 / 381.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001127/0.003262, allocations: 114.8 kB / 381.7 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.003282, allocations: 77.11 kB / 381.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.785e-05/0.0033, allocations: 146.2 kB / 381.9 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-06/0.003305, allocations: 25.7 kB / 382 MB, free: 20.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-06/0.003313, allocations: 126.9 kB / 382.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.003327, allocations: 4 kB / 382.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.003344, allocations: 15.38 kB / 382.1 MB, free: 20.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.00338, allocations: 496.1 kB / 382.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.003391, allocations: 33.83 kB / 382.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.003398, allocations: 29.64 kB / 382.7 MB, free: 19.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.003427, allocations: 71.08 kB / 382.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003428, allocations: 0 / 382.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.068e-05/0.003469, allocations: 85.11 kB / 382.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.003489, allocations: 31.73 kB / 382.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.003493, allocations: 0 / 382.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.0035, allocations: 0 / 382.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.003502, allocations: 4 kB / 382.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.003504, allocations: 4.094 kB / 382.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.003515, allocations: 352 / 382.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.00352, allocations: 3.984 kB / 382.8 MB, free: 19.55 MB / 314.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 3.953e-05/0.00356, allocations: 190.2 kB / 383 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-06/0.003565, allocations: 3.984 kB / 383 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-06/0.003572, allocations: 3 kB / 383 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.003573, allocations: 0 / 383 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003575, allocations: 0 / 383 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.003578, allocations: 4 kB / 383 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.754e-05/0.003615, allocations: 109.1 kB / 383.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.003616, allocations: 7.984 kB / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.003617, allocations: 0 / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.003618, allocations: 0 / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.003621, allocations: 4 kB / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003622, allocations: 0 / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003623, allocations: 0 / 383.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.384e-05/0.003676, allocations: 131.8 kB / 383.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.003681, allocations: 0 / 383.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.00369, allocations: 0 / 383.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-06/0.003695, allocations: 4 kB / 383.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-06/0.003702, allocations: 3.938 kB / 383.3 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.003705, allocations: 4.031 kB / 383.3 MB, free: 19.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.003717, allocations: 119.2 kB / 383.4 MB, free: 18.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003717, allocations: 0 / 383.4 MB, free: 18.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.003924, allocations: 55.86 kB / 383.5 MB, free: 18.85 MB / 314.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.0003193/0.004243, allocations: 193.1 kB / 383.7 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.004334, allocations: 130.5 kB / 383.8 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004335, allocations: 4.062 kB / 383.8 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.004352, allocations: 88.8 kB / 383.9 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.299e-05/0.004445, allocations: 7.875 kB / 383.9 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001455/0.00459, allocations: 111.6 kB / 384 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.92e-05/0.004609, allocations: 55.22 kB / 384.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.39e-06/0.004615, allocations: 0 / 384.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.004647, allocations: 78.19 kB / 384.1 MB, free: 18.08 MB / 314.7 MB Notification: Performance of SimCode: time 5.52e-07/0.004648, allocations: 3.938 kB / 384.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of Templates: time 0.003264/0.007912, allocations: 1.865 MB / 386 MB, free: 16.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.9400242888368666]