Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001832/0.001832, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 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.002181/0.002181, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 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.585/1.585, allocations: 230.2 MB / 255.1 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2341/0.2341, allocations: 46.88 MB / 358.1 MB, free: 10.52 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-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 75.88 kB / 0.4923 GB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1445, allocations: 65.99 MB / 0.5568 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001678/0.1462, allocations: 0.4892 MB / 0.5573 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1473, allocations: 375.4 kB / 0.5576 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.1473, allocations: 0 / 0.5576 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.1473, allocations: 0 / 0.5576 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.1473, allocations: 0 / 0.5576 GB, free: 5.09 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0009197/0.1482, allocations: 203.5 kB / 0.5578 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.1483, allocations: 8 kB / 0.5578 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.1483, allocations: 0 / 0.5578 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.1483, allocations: 0 / 0.5578 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.393e-05/0.1483, allocations: 4 kB / 0.5578 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.1483, allocations: 0 / 0.5578 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.1488, allocations: 207.6 kB / 0.558 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-06/0.1488, allocations: 0 / 0.558 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.1488, allocations: 0 / 0.558 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1491, allocations: 147.6 kB / 0.5582 GB, free: 4.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1491, allocations: 4 kB / 0.5582 GB, free: 4.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1491, allocations: 0 / 0.5582 GB, free: 4.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1491, allocations: 4 kB / 0.5582 GB, free: 4.523 MB / 414.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.0004809/0.1496, allocations: 369 kB / 0.5585 GB, free: 4.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1496, allocations: 12.03 kB / 0.5585 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.1496, allocations: 0.9375 kB / 0.5585 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1498, allocations: 164.3 kB / 0.5587 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1498, allocations: 384 / 0.5587 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1498, allocations: 384 / 0.5587 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1499, allocations: 30.27 kB / 0.5587 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1499, allocations: 192 / 0.5587 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1499, allocations: 7.938 kB / 0.5587 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1499, allocations: 0 / 0.5587 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.15, allocations: 7.922 kB / 0.5587 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.1501, allocations: 145.7 kB / 0.5589 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.788e-05/0.1502, allocations: 24.27 kB / 0.5589 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.1502, allocations: 4.953 kB / 0.5589 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.1502, allocations: 4 kB / 0.5589 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.1503, allocations: 60.27 kB / 0.559 GB, free: 3.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1503, allocations: 0 / 0.559 GB, free: 3.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002084/0.1505, allocations: 75.22 kB / 0.559 GB, free: 3.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.1506, allocations: 81.11 kB / 0.5591 GB, free: 3.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.1506, allocations: 93.8 kB / 0.5592 GB, free: 3.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1506, allocations: 25.7 kB / 0.5592 GB, free: 3.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.1507, allocations: 84.12 kB / 0.5593 GB, free: 3.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.1507, allocations: 4 kB / 0.5593 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1507, allocations: 13.84 kB / 0.5593 GB, free: 3.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003046/0.151, allocations: 314.8 kB / 0.5596 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.151, allocations: 0 / 0.5596 GB, free: 2.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.151, allocations: 8 kB / 0.5596 GB, free: 2.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.778e-05/0.1511, allocations: 64.27 kB / 0.5597 GB, free: 2.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1511, allocations: 0 / 0.5597 GB, free: 2.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.534e-05/0.1512, allocations: 59.34 kB / 0.5597 GB, free: 2.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.1512, allocations: 37.78 kB / 0.5598 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1512, allocations: 4 kB / 0.5598 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1512, allocations: 3.938 kB / 0.5598 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.1512, allocations: 0 / 0.5598 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1513, allocations: 0 / 0.5598 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.1513, allocations: 0 / 0.5598 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1513, allocations: 4 kB / 0.5598 GB, free: 2.582 MB / 414.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.0001072/0.1514, allocations: 131.5 kB / 0.5599 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.1514, allocations: 4 kB / 0.5599 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.1514, allocations: 11.06 kB / 0.5599 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1514, allocations: 4 kB / 0.5599 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1514, allocations: 3.984 kB / 0.5599 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1514, allocations: 0 / 0.5599 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.1516, allocations: 141.7 kB / 0.5601 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1516, allocations: 0 / 0.5601 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.1516, allocations: 3.938 kB / 0.5601 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1516, allocations: 4 kB / 0.5601 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1516, allocations: 3.938 kB / 0.5601 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1516, allocations: 0 / 0.5601 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1516, allocations: 0 / 0.5601 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1517, allocations: 98.77 kB / 0.5602 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1519, allocations: 77.11 kB / 0.5603 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1519, allocations: 3.938 kB / 0.5603 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.1519, allocations: 3.984 kB / 0.5603 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.1519, allocations: 0 / 0.5603 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1519, allocations: 11.92 kB / 0.5603 GB, free: 1.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.312e-05/0.152, allocations: 75.28 kB / 0.5603 GB, free: 1.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.152, allocations: 4.031 kB / 0.5603 GB, free: 1.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.1523, allocations: 51.88 kB / 0.5604 GB, free: 1.855 MB / 414.1 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.0004389/0.1527, allocations: 183.1 kB / 0.5606 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1528, allocations: 63.34 kB / 0.5606 GB, free: 1.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1528, allocations: 4 kB / 0.5606 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.1529, allocations: 51.47 kB / 0.5607 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.153, allocations: 12.05 kB / 0.5607 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.1532, allocations: 106.8 kB / 0.5608 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.1537, allocations: 0.669 MB / 0.5614 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.1537, allocations: 7.438 kB / 0.5615 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1537, allocations: 4 kB / 0.5615 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of Templates: time 0.003819/0.1575, allocations: 1.486 MB / 0.5629 GB, free: 15.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.18018485698849]