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.002333/0.002333, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002706/0.002706, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.671/1.671, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3708/0.3708, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.359e-05, allocations: 4.984 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00172/0.001754, allocations: 0.4893 MB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.002749, allocations: 378.9 kB / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.002768, allocations: 0 / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.002783, allocations: 3.938 kB / 378 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.002788, allocations: 0 / 378 MB, free: 2.07 MB / 346.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.0008899/0.003678, allocations: 211.3 kB / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.003721, allocations: 7.984 kB / 378.3 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003756, allocations: 7.984 kB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.003783, allocations: 0 / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.903e-05/0.003802, allocations: 0 / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-06/0.003808, allocations: 0 / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.00428, allocations: 223.5 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-06/0.004288, allocations: 0 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.004308, allocations: 4 kB / 378.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.004627, allocations: 179.5 kB / 378.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00463, allocations: 0 / 378.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00463, allocations: 0 / 378.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004635, allocations: 8 kB / 378.7 MB, free: 1.441 MB / 346.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.0004645/0.0051, allocations: 393.8 kB / 379.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.005144, allocations: 12.03 kB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.005184, allocations: 0.9375 kB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.005286, allocations: 108.6 kB / 379.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.005299, allocations: 384 / 379.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.005307, allocations: 4.375 kB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.005423, allocations: 55.91 kB / 379.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.005433, allocations: 4.188 kB / 379.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.005442, allocations: 384 / 379.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005446, allocations: 384 / 379.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.005484, allocations: 33.64 kB / 379.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.005629, allocations: 112.6 kB / 379.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.005714, allocations: 52.75 kB / 379.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.005753, allocations: 37.48 kB / 379.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.005766, allocations: 3.938 kB / 379.5 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.005826, allocations: 63.09 kB / 379.5 MB, free: 420 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.005827, allocations: 0 / 379.5 MB, free: 420 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002512/0.006078, allocations: 122.8 kB / 379.7 MB, free: 272 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.006142, allocations: 77.11 kB / 379.7 MB, free: 176 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.006232, allocations: 146.4 kB / 379.9 MB, free: 16 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.006269, allocations: 25.7 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.006337, allocations: 126.9 kB / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.006356, allocations: 0 / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.006398, allocations: 23.38 kB / 380 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002706/0.006669, allocations: 496.1 kB / 380.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.006701, allocations: 29.7 kB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.006728, allocations: 33.62 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/0.006797, allocations: 63.09 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006799, allocations: 0 / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.006902, allocations: 93.17 kB / 380.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/0.006987, allocations: 33.69 kB / 380.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.006994, allocations: 4 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.007011, allocations: 3.984 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/0.007013, allocations: 0 / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.007018, allocations: 0 / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.00704, allocations: 7.891 kB / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007046, allocations: 3.938 kB / 380.8 MB, free: 15.01 MB / 362.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 0.000145/0.007191, allocations: 186.2 kB / 381 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.0072, allocations: 0 / 381 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-06/0.007208, allocations: 7.031 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.007211, allocations: 7.984 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007214, allocations: 0 / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.007216, allocations: 0 / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.00732, allocations: 112.6 kB / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.007321, allocations: 0 / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.007321, allocations: 0 / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.007325, allocations: 4 kB / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.007332, allocations: 0 / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.007333, allocations: 0 / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.007333, allocations: 0 / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.007508, allocations: 135.8 kB / 381.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.007517, allocations: 4 kB / 381.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.00753, allocations: 0 / 381.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/0.007538, allocations: 0 / 381.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.007559, allocations: 3.984 kB / 381.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.007565, allocations: 7.938 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.007634, allocations: 119.2 kB / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007634, allocations: 0 / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002924/0.007926, allocations: 51.88 kB / 381.4 MB, free: 14.3 MB / 362.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.0005336/0.00846, allocations: 208 kB / 381.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.008641, allocations: 118.5 kB / 381.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008643, allocations: 0 / 381.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.008725, allocations: 100.7 kB / 381.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.008856, allocations: 5.5 kB / 381.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.009118, allocations: 113.7 kB / 382 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.308e-05/0.009181, allocations: 55.47 kB / 382 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.522e-06/0.009188, allocations: 4 kB / 382 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.009208, allocations: 12.5 kB / 382 MB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009209, allocations: 0 / 382 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005494/0.0147, allocations: 1.565 MB / 383.6 MB, free: 12.02 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.069119935971685]