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.0008379/0.0008379, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.004505/0.004505, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.8712/0.8712, allocations: 177 MB / 204.9 MB, free: 5.758 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.2327/0.2327, allocations: 34.25 MB / 295.6 MB, free: 0.6797 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.623e-06/1.623e-06, allocations: 0 / 443.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.115e-05, allocations: 6.219 kB / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001206/0.001237, allocations: 497 kB / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.001894, allocations: 374.9 kB / 444.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.001911, allocations: 0 / 444.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.001926, allocations: 0 / 444.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.001932, allocations: 4 kB / 444.3 MB, free: 240 kB / 410.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.0007539/0.002686, allocations: 203.4 kB / 444.5 MB, free: 36 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.718e-05/0.002744, allocations: 3.938 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.002783, allocations: 0 / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.002812, allocations: 4 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.343e-05/0.002836, allocations: 4 kB / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.002843, allocations: 0 / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1704/0.1732, allocations: 218.6 kB / 444.7 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.447e-06/0.1732, allocations: 0 / 444.7 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1732, allocations: 2.969 kB / 444.7 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1734, allocations: 178.2 kB / 444.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1735, allocations: 3.469 kB / 444.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1735, allocations: 0 / 444.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1735, allocations: 0 / 444.9 MB, free: 43.73 MB / 410.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.0002529/0.1737, allocations: 292.4 kB / 445.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1737, allocations: 11 kB / 445.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1738, allocations: 0.9375 kB / 445.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.831e-05/0.1738, allocations: 107.3 kB / 445.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1738, allocations: 4.719 kB / 445.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.1738, allocations: 384 / 445.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.1739, allocations: 60.62 kB / 445.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1739, allocations: 192 / 445.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1739, allocations: 384 / 445.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1739, allocations: 3.812 kB / 445.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.174, allocations: 31.73 kB / 445.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.864e-05/0.174, allocations: 97.2 kB / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/0.1741, allocations: 49.33 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.1741, allocations: 31.06 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.1741, allocations: 3.406 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1741, allocations: 63.33 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.1741, allocations: 0 / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.1743, allocations: 116.5 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.1743, allocations: 80.36 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.412e-05/0.1743, allocations: 92.11 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.509e-06/0.1743, allocations: 28.61 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-06/0.1743, allocations: 83.7 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1743, allocations: 5.391 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.1743, allocations: 13.12 kB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.62e-05/0.1744, allocations: 318.7 kB / 446.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.1744, allocations: 28.39 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-06/0.1744, allocations: 26.27 kB / 446.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.1744, allocations: 68.27 kB / 446.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1744, allocations: 0 / 446.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.965e-05/0.1745, allocations: 89.84 kB / 446.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1745, allocations: 35.8 kB / 446.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1745, allocations: 0 / 446.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1745, allocations: 0 / 446.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-07/0.1745, allocations: 0 / 446.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1745, allocations: 0 / 446.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.1745, allocations: 9.938 kB / 446.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1745, allocations: 0 / 446.6 MB, free: 41.91 MB / 410.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.596e-05/0.1746, allocations: 136.8 kB / 446.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-06/0.1746, allocations: 0 / 446.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-06/0.1746, allocations: 9.406 kB / 446.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1746, allocations: 2.781 kB / 446.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1746, allocations: 0 / 446.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1746, allocations: 0 / 446.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.095e-05/0.1746, allocations: 108.1 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1746, allocations: 4.219 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-07/0.1746, allocations: 0 / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.1746, allocations: 0 / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1746, allocations: 0 / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1746, allocations: 2.594 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1746, allocations: 2.734 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.956e-05/0.1747, allocations: 121.2 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-06/0.1747, allocations: 3.031 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.1747, allocations: 0 / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-06/0.1747, allocations: 3.281 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.1747, allocations: 10.69 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.1747, allocations: 0 / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.604e-06/0.1747, allocations: 75.28 kB / 447 MB, free: 41.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1747, allocations: 0 / 447 MB, free: 41.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.1749, allocations: 53.06 kB / 447.1 MB, free: 41.41 MB / 410.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.0003204/0.1752, allocations: 212.6 kB / 447.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.616e-05/0.1753, allocations: 116.8 kB / 447.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1753, allocations: 4.062 kB / 447.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.1753, allocations: 79.73 kB / 447.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.179e-05/0.1754, allocations: 2.812 kB / 447.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/0.1756, allocations: 139 kB / 447.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.606e-05/0.1756, allocations: 54.17 kB / 447.7 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.1756, allocations: 8.5 kB / 447.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.1756, allocations: 0 / 447.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of Templates: time 0.002233/0.1778, allocations: 1.511 MB / 449.2 MB, free: 40.75 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] 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.147259044460952]