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.001863/0.001863, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002201/0.002201, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.611/1.611, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2427/0.2427, allocations: 46.93 MB / 357.1 MB, free: 10.29 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.002087/0.002087, allocations: 75.89 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1465, allocations: 65.99 MB / 0.5558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001791/0.1483, allocations: 0.5025 MB / 0.5563 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009614/0.1493, allocations: 367.6 kB / 0.5567 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.1493, allocations: 4 kB / 0.5567 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.1493, allocations: 0 / 0.5567 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.1493, allocations: 0 / 0.5567 GB, free: 4.484 MB / 414.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.000848/0.1502, allocations: 191.6 kB / 0.5569 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.1502, allocations: 0 / 0.5569 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.1503, allocations: 0 / 0.5569 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.1503, allocations: 4 kB / 0.5569 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.22e-05/0.1503, allocations: 8 kB / 0.5569 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-06/0.1503, allocations: 3.938 kB / 0.5569 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.1507, allocations: 215.6 kB / 0.5571 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-06/0.1507, allocations: 0 / 0.5571 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1507, allocations: 0 / 0.5571 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.151, allocations: 159.6 kB / 0.5572 GB, free: 3.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.151, allocations: 0 / 0.5572 GB, free: 3.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.151, allocations: 0 / 0.5572 GB, free: 3.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.151, allocations: 0 / 0.5572 GB, free: 3.914 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.00046/0.1515, allocations: 369 kB / 0.5576 GB, free: 3.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1515, allocations: 12.03 kB / 0.5576 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1516, allocations: 0.9375 kB / 0.5576 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1517, allocations: 164.4 kB / 0.5578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1517, allocations: 384 / 0.5578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1517, allocations: 4.375 kB / 0.5578 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.1518, allocations: 34.19 kB / 0.5578 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1518, allocations: 192 / 0.5578 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1518, allocations: 3.938 kB / 0.5578 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1518, allocations: 0 / 0.5578 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.1519, allocations: 4 kB / 0.5578 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.152, allocations: 149.7 kB / 0.5579 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.1521, allocations: 24.27 kB / 0.558 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.1521, allocations: 4.859 kB / 0.558 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-06/0.1521, allocations: 3.938 kB / 0.558 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/0.1522, allocations: 64.25 kB / 0.558 GB, free: 2.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.1522, allocations: 0 / 0.558 GB, free: 2.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001935/0.1524, allocations: 75.36 kB / 0.5581 GB, free: 2.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1524, allocations: 81.05 kB / 0.5582 GB, free: 2.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.1525, allocations: 89.86 kB / 0.5583 GB, free: 2.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1525, allocations: 29.7 kB / 0.5583 GB, free: 2.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.1525, allocations: 80.14 kB / 0.5584 GB, free: 2.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.1525, allocations: 0 / 0.5584 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1526, allocations: 17.7 kB / 0.5584 GB, free: 2.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1527, allocations: 315 kB / 0.5587 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.1528, allocations: 4 kB / 0.5587 GB, free: 2.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.1528, allocations: 3.938 kB / 0.5587 GB, free: 2.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/0.1528, allocations: 60.27 kB / 0.5588 GB, free: 2.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1528, allocations: 0 / 0.5588 GB, free: 2.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.796e-05/0.1529, allocations: 63.39 kB / 0.5588 GB, free: 2.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.1529, allocations: 33.7 kB / 0.5588 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1529, allocations: 0 / 0.5588 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.153, allocations: 3.938 kB / 0.5588 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.153, allocations: 4.094 kB / 0.5589 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.153, allocations: 7.938 kB / 0.5589 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/0.153, allocations: 0 / 0.5589 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.153, allocations: 0 / 0.5589 GB, free: 1.969 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 9.658e-05/0.1531, allocations: 135.5 kB / 0.559 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.1531, allocations: 0 / 0.559 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.1531, allocations: 18.97 kB / 0.559 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1531, allocations: 0 / 0.559 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1531, allocations: 0 / 0.559 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1531, allocations: 4 kB / 0.559 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1532, allocations: 145.7 kB / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1532, allocations: 0 / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1532, allocations: 0 / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1532, allocations: 0 / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1533, allocations: 7.922 kB / 0.5592 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1533, allocations: 0 / 0.5592 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1533, allocations: 0 / 0.5592 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.1534, allocations: 90.84 kB / 0.5592 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1534, allocations: 81.09 kB / 0.5593 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1534, allocations: 3.938 kB / 0.5593 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.1534, allocations: 8 kB / 0.5593 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1535, allocations: 3.938 kB / 0.5593 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1535, allocations: 0 / 0.5593 GB, free: 1.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.1535, allocations: 75.28 kB / 0.5594 GB, free: 1.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1535, allocations: 0 / 0.5594 GB, free: 1.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1538, allocations: 55.81 kB / 0.5595 GB, free: 1.246 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.0004494/0.1542, allocations: 194.2 kB / 0.5596 GB, free: 1.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1544, allocations: 55.41 kB / 0.5597 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1544, allocations: 0 / 0.5597 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.1544, allocations: 59.39 kB / 0.5598 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1545, allocations: 6.047 kB / 0.5598 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.1547, allocations: 93.12 kB / 0.5599 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.155, allocations: 0.669 MB / 0.5605 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.155, allocations: 4 kB / 0.5605 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.155, allocations: 7.438 kB / 0.5605 GB, free: 88 kB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.155, allocations: 0 / 0.5605 GB, free: 88 kB / 414.1 MB Notification: Performance of Templates: time 0.004525/0.1596, allocations: 1.534 MB / 0.562 GB, free: 14.55 MB / 430.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/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_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.288266219198704]