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.001745/0.001745, allocations: 102.8 kB / 21.19 MB, free: 0.6367 MB / 14.72 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.002139/0.002139, allocations: 221.1 kB / 24.5 MB, free: 3.922 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2298/0.2298, allocations: 46.97 MB / 361.6 MB, free: 4.016 MB / 286.1 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 0.002123/0.002123, allocations: 67.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3294, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001638/0.331, allocations: 491.8 kB / 0.5623 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.3319, allocations: 381.2 kB / 0.5626 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.3319, allocations: 0 / 0.5626 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.3319, allocations: 0 / 0.5626 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.3319, allocations: 3.938 kB / 0.5626 GB, free: 3.285 MB / 398.1 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.0008033/0.3327, allocations: 203.3 kB / 0.5628 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.3328, allocations: 7.984 kB / 0.5628 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.3328, allocations: 8 kB / 0.5629 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.075e-05/0.3328, allocations: 4 kB / 0.5629 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.3328, allocations: 3.984 kB / 0.5629 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-06/0.3328, allocations: 3.938 kB / 0.5629 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.3332, allocations: 223.6 kB / 0.5631 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-06/0.3332, allocations: 0 / 0.5631 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.3332, allocations: 0 / 0.5631 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.3335, allocations: 154 kB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3335, allocations: 0 / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3335, allocations: 0 / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3335, allocations: 3.938 kB / 0.5632 GB, free: 2.695 MB / 398.1 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.0003682/0.3339, allocations: 295.9 kB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3339, allocations: 12.03 kB / 0.5635 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.3339, allocations: 0.9375 kB / 0.5635 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.334, allocations: 106.5 kB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.334, allocations: 4.312 kB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.334, allocations: 4.359 kB / 0.5636 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.3341, allocations: 55.97 kB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3341, allocations: 192 / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3341, allocations: 3.938 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.3341, allocations: 0 / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.3342, allocations: 29.7 kB / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.3343, allocations: 101.3 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.3344, allocations: 52.23 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.3344, allocations: 30.56 kB / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.3344, allocations: 0 / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.3344, allocations: 60.33 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.3344, allocations: 0 / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002072/0.3347, allocations: 126.7 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.3347, allocations: 77.11 kB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.945e-05/0.3348, allocations: 89.86 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.3348, allocations: 25.7 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.3348, allocations: 84.27 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.3348, allocations: 0 / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.3349, allocations: 13.72 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.335, allocations: 314.8 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.335, allocations: 37.58 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.3351, allocations: 29.69 kB / 0.5647 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.3351, allocations: 60.27 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3351, allocations: 0 / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.529e-05/0.3352, allocations: 89.11 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.3352, allocations: 37.78 kB / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3352, allocations: 0 / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3353, allocations: 0 / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3353, allocations: 0 / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3353, allocations: 15.86 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.3353, allocations: 0 / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3353, allocations: 0 / 0.5649 GB, free: 0.6953 MB / 398.1 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.0001054/0.3354, allocations: 139.5 kB / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-06/0.3354, allocations: 0 / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.3354, allocations: 3 kB / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3354, allocations: 0 / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3354, allocations: 7.938 kB / 0.5651 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.3354, allocations: 3.984 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3354, allocations: 8 kB / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-06/0.3354, allocations: 0 / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3355, allocations: 4 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001583/0.3356, allocations: 223.8 kB / 0.5653 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001926/0.3358, allocations: 266.1 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.866e-05/0.3359, allocations: 37.67 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.334e-05/0.3359, allocations: 75.28 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.3359, allocations: 4.062 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006934/0.3366, allocations: 252.8 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004364/0.337, allocations: 0.5717 MB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of Templates: time 0.004597/0.3416, allocations: 1.573 MB / 0.568 GB, free: 13.39 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.033840937001514]