Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 161.1 kB / 24.91 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9024/0.9024, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.81e-05, allocations: 4.172 kB / 325.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009456/0.0009637, allocations: 0.5032 MB / 326.4 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006755/0.001639, allocations: 387.6 kB / 326.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.001656, allocations: 0 / 326.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.001667, allocations: 0 / 326.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.001673, allocations: 0 / 326.8 MB, free: 6.344 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0006047/0.002278, allocations: 200 kB / 327 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.969e-05/0.002318, allocations: 7.984 kB / 327 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.921e-05/0.002347, allocations: 4 kB / 327 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.002369, allocations: 0 / 327 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.002384, allocations: 3.938 kB / 327 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-06/0.002391, allocations: 0 / 327 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.00264, allocations: 219.5 kB / 327.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-06/0.002647, allocations: 0 / 327.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.194e-05/0.002659, allocations: 0.75 kB / 327.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.002829, allocations: 187.5 kB / 327.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.00283, allocations: 0 / 327.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00283, allocations: 0 / 327.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.002833, allocations: 0 / 327.4 MB, free: 5.734 MB / 298.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.0002115/0.003045, allocations: 270.2 kB / 327.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.003075, allocations: 8.031 kB / 327.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.003096, allocations: 4.938 kB / 327.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.563e-05/0.003142, allocations: 109.8 kB / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.003149, allocations: 384 / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.003156, allocations: 4.312 kB / 327.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.755e-05/0.003214, allocations: 59.95 kB / 327.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.003219, allocations: 192 / 327.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.003224, allocations: 384 / 327.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.003227, allocations: 384 / 327.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.003242, allocations: 37.64 kB / 327.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.999e-05/0.003292, allocations: 53.05 kB / 327.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.405e-05/0.003326, allocations: 44.31 kB / 328 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.003341, allocations: 38.48 kB / 328 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-06/0.003345, allocations: 8 kB / 328 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.003373, allocations: 64.25 kB / 328.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.003374, allocations: 0 / 328.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.037e-05/0.003465, allocations: 110.8 kB / 328.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.003493, allocations: 77.11 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.633e-05/0.003519, allocations: 94.66 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.003526, allocations: 29.7 kB / 328.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.615e-05/0.003542, allocations: 80.14 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.003555, allocations: 0.6875 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.003572, allocations: 13.72 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.003636, allocations: 314.8 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.003647, allocations: 33.64 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.003657, allocations: 25.7 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.00369, allocations: 68.25 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003692, allocations: 0 / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.879e-05/0.003731, allocations: 85.17 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.003752, allocations: 33.7 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.003756, allocations: 0 / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.003765, allocations: 0 / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.003767, allocations: 0 / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.003769, allocations: 0 / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-06/0.003779, allocations: 3.984 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.003783, allocations: 3.938 kB / 329 MB, free: 3.832 MB / 298.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.909e-05/0.003832, allocations: 139.5 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-06/0.003836, allocations: 4 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-06/0.003842, allocations: 7.031 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.003843, allocations: 0 / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.003844, allocations: 0 / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.003846, allocations: 0 / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.706e-05/0.003883, allocations: 70.17 kB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.003885, allocations: 3.984 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.003887, allocations: 4 kB / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.003887, allocations: 0 / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-06/0.00389, allocations: 0 / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-07/0.003891, allocations: 0 / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.003891, allocations: 0 / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.955e-05/0.003951, allocations: 124.4 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-06/0.003954, allocations: 4 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.003963, allocations: 0 / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-06/0.003967, allocations: 3.938 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.003975, allocations: 4 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-06/0.003976, allocations: 0 / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.971e-06/0.003982, allocations: 4.859 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003982, allocations: 0 / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000142/0.004124, allocations: 55.86 kB / 329.4 MB, free: 3.352 MB / 298.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.0002664/0.004391, allocations: 184.1 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.004463, allocations: 123.7 kB / 329.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.004465, allocations: 0 / 329.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.004491, allocations: 85.97 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.784e-05/0.004529, allocations: 7.938 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001182/0.004647, allocations: 120.9 kB / 329.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.402e-05/0.004671, allocations: 55.42 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.027e-06/0.004676, allocations: 4 kB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.004703, allocations: 51.38 kB / 330 MB, free: 2.633 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.004703, allocations: 0 / 330 MB, free: 2.633 MB / 298.7 MB Notification: Performance of Templates: time 0.002841/0.007544, allocations: 1.828 MB / 331.9 MB, free: 0.8164 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.686419818084687]