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.001107/0.001107, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001799/0.001799, allocations: 166.2 kB / 25.61 MB, free: 8.578 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 1.017/1.017, allocations: 177 MB / 205.9 MB, free: 4.441 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.1467/0.1467, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.273e-06/1.273e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.121e-05, allocations: 3.297 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001058/0.001079, allocations: 0.4961 MB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000618/0.001697, allocations: 380.6 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.001718, allocations: 0 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.001734, allocations: 0 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-06/0.001741, allocations: 0 / 380.9 MB, free: 21.9 MB / 314.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.0006331/0.002374, allocations: 207.4 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.002418, allocations: 4 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.00245, allocations: 3.984 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.002472, allocations: 0 / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.00249, allocations: 4 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.002496, allocations: 0 / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.002742, allocations: 231.4 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.002749, allocations: 0 / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.155e-05/0.002761, allocations: 0 / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.00291, allocations: 175.6 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002911, allocations: 0 / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002912, allocations: 7.938 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.002915, allocations: 0 / 381.5 MB, free: 21.28 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.000206/0.003121, allocations: 397.9 kB / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.003152, allocations: 12.03 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.003176, allocations: 0.9375 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.888e-05/0.003215, allocations: 112.5 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.003225, allocations: 384 / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-06/0.00323, allocations: 4.375 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.127e-05/0.003281, allocations: 51.97 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003288, allocations: 192 / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-06/0.003292, allocations: 4.375 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003297, allocations: 4.375 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.156e-05/0.003309, allocations: 29.64 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.433e-05/0.003363, allocations: 93.3 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.122e-05/0.003394, allocations: 60.69 kB / 382.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.003412, allocations: 33.39 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-06/0.003415, allocations: 4.062 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.003436, allocations: 59.09 kB / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.003437, allocations: 0 / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.003555, allocations: 114.9 kB / 382.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.003577, allocations: 81.11 kB / 382.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.967e-05/0.003597, allocations: 150.2 kB / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-06/0.003601, allocations: 29.7 kB / 382.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.081e-05/0.003612, allocations: 126.9 kB / 382.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.003624, allocations: 0 / 382.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.003641, allocations: 19.38 kB / 382.8 MB, free: 19.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.003682, allocations: 0.4922 MB / 383.3 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.003691, allocations: 25.7 kB / 383.3 MB, free: 19.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.003698, allocations: 29.69 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.003727, allocations: 67.16 kB / 383.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.003729, allocations: 0 / 383.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.749e-05/0.003766, allocations: 85.11 kB / 383.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.003787, allocations: 38.94 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.003791, allocations: 0 / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.003799, allocations: 3.938 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.0038, allocations: 0 / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.003802, allocations: 0 / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.003813, allocations: 4.344 kB / 383.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.003818, allocations: 0 / 383.6 MB, free: 18.88 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.989e-05/0.003857, allocations: 190.2 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-06/0.003862, allocations: 4 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-06/0.00387, allocations: 3 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.003872, allocations: 0 / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.003874, allocations: 0 / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.003876, allocations: 3.984 kB / 383.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.463e-05/0.003911, allocations: 97.16 kB / 383.9 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.003912, allocations: 7.984 kB / 383.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.003913, allocations: 4 kB / 383.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.003914, allocations: 0 / 383.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.003918, allocations: 0 / 383.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.003918, allocations: 7.984 kB / 383.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003919, allocations: 0 / 383.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.751e-05/0.003967, allocations: 135.7 kB / 384 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.003971, allocations: 4 kB / 384 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-06/0.003979, allocations: 0 / 384 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-06/0.003983, allocations: 0 / 384 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-06/0.003992, allocations: 0 / 384 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.003994, allocations: 4 kB / 384 MB, free: 18.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.004006, allocations: 119.2 kB / 384.1 MB, free: 18.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004006, allocations: 0 / 384.1 MB, free: 18.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.004203, allocations: 59.89 kB / 384.2 MB, free: 18.18 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.0002536/0.004457, allocations: 202 kB / 384.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.543e-05/0.004522, allocations: 122.5 kB / 384.5 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.004523, allocations: 0 / 384.5 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.004538, allocations: 92.78 kB / 384.6 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.952e-05/0.004618, allocations: 3.938 kB / 384.6 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001095/0.004727, allocations: 119.6 kB / 384.7 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.47e-05/0.004742, allocations: 55.22 kB / 384.8 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.909e-06/0.004747, allocations: 4 kB / 384.8 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.00477, allocations: 74.19 kB / 384.9 MB, free: 17.41 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00477, allocations: 0 / 384.9 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Templates: time 0.002756/0.007526, allocations: 1.833 MB / 386.7 MB, free: 15.58 MB / 314.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: 3.2525703432038426]