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.00189/0.00189, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.002473/0.002473, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.526/1.526, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2594/0.2594, allocations: 46.89 MB / 357.4 MB, free: 10.48 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.002353/0.002353, allocations: 79.88 kB / 0.4917 GB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1534, allocations: 65.99 MB / 0.5561 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001709/0.1551, allocations: 482.5 kB / 0.5566 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.1561, allocations: 371.5 kB / 0.5569 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.1561, allocations: 4 kB / 0.5569 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.1562, allocations: 3.938 kB / 0.5569 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1562, allocations: 0 / 0.5569 GB, free: 4.863 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.0008212/0.157, allocations: 191.6 kB / 0.5571 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.157, allocations: 7.922 kB / 0.5571 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1571, allocations: 3.984 kB / 0.5571 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.1571, allocations: 4 kB / 0.5571 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.1571, allocations: 0 / 0.5571 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.1571, allocations: 0 / 0.5571 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.1575, allocations: 203.6 kB / 0.5573 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.1575, allocations: 0 / 0.5573 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.1575, allocations: 4 kB / 0.5573 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1578, allocations: 155.6 kB / 0.5575 GB, free: 4.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1578, allocations: 0 / 0.5575 GB, free: 4.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1578, allocations: 0 / 0.5575 GB, free: 4.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1578, allocations: 0 / 0.5575 GB, free: 4.305 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.0004569/0.1582, allocations: 369 kB / 0.5578 GB, free: 3.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1583, allocations: 8.031 kB / 0.5579 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1583, allocations: 0.9375 kB / 0.5579 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1584, allocations: 168.4 kB / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1585, allocations: 4.375 kB / 0.558 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.1585, allocations: 4.375 kB / 0.558 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1586, allocations: 34.2 kB / 0.5581 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1586, allocations: 192 / 0.5581 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1586, allocations: 3.938 kB / 0.5581 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1586, allocations: 0 / 0.5581 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.1586, allocations: 4 kB / 0.5581 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1588, allocations: 149.7 kB / 0.5582 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.583e-05/0.1588, allocations: 24.36 kB / 0.5582 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.1588, allocations: 8.859 kB / 0.5582 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-06/0.1588, allocations: 0 / 0.5582 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.1589, allocations: 60.2 kB / 0.5583 GB, free: 3.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1589, allocations: 0 / 0.5583 GB, free: 3.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000197/0.1591, allocations: 75.28 kB / 0.5584 GB, free: 3.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1592, allocations: 81.05 kB / 0.5584 GB, free: 3.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.1592, allocations: 93.98 kB / 0.5585 GB, free: 3.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1592, allocations: 29.7 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.1593, allocations: 80.14 kB / 0.5586 GB, free: 2.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1593, allocations: 0 / 0.5586 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.1593, allocations: 9.719 kB / 0.5586 GB, free: 2.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1595, allocations: 318.8 kB / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.1595, allocations: 0 / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.1595, allocations: 0 / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.59e-05/0.1595, allocations: 72.25 kB / 0.559 GB, free: 2.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1595, allocations: 0 / 0.559 GB, free: 2.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.013e-05/0.1596, allocations: 59.41 kB / 0.5591 GB, free: 2.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.1596, allocations: 37.64 kB / 0.5591 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1596, allocations: 0 / 0.5591 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1597, allocations: 3.938 kB / 0.5591 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.1597, allocations: 3.984 kB / 0.5591 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1597, allocations: 0 / 0.5591 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.1597, allocations: 4 kB / 0.5591 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1597, allocations: 0 / 0.5591 GB, free: 2.359 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.147e-05/0.1598, allocations: 135.6 kB / 0.5593 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-06/0.1598, allocations: 4 kB / 0.5593 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-06/0.1598, allocations: 7.062 kB / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1598, allocations: 0 / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1598, allocations: 0 / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1598, allocations: 0 / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1599, allocations: 145.7 kB / 0.5594 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1599, allocations: 7.938 kB / 0.5594 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1599, allocations: 0 / 0.5594 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.1599, allocations: 4 kB / 0.5594 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1599, allocations: 3.938 kB / 0.5594 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.1599, allocations: 0 / 0.5594 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1599, allocations: 0 / 0.5594 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.16, allocations: 94.81 kB / 0.5595 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.1601, allocations: 77.11 kB / 0.5596 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1601, allocations: 3.938 kB / 0.5596 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/0.1601, allocations: 12.03 kB / 0.5596 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1601, allocations: 7.938 kB / 0.5596 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1601, allocations: 0 / 0.5596 GB, free: 1.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.1602, allocations: 75.28 kB / 0.5597 GB, free: 1.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1602, allocations: 0 / 0.5597 GB, free: 1.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1605, allocations: 55.86 kB / 0.5597 GB, free: 1.633 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.0004523/0.1609, allocations: 191 kB / 0.5599 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.161, allocations: 67.34 kB / 0.56 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.161, allocations: 0 / 0.56 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.1611, allocations: 55.41 kB / 0.56 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.1612, allocations: 0 / 0.56 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.1614, allocations: 89.05 kB / 0.5601 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1617, allocations: 0.669 MB / 0.5608 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.833e-06/0.1617, allocations: 0 / 0.5608 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.1618, allocations: 11.56 kB / 0.5608 GB, free: 488 kB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1618, allocations: 4 kB / 0.5608 GB, free: 484 kB / 414.1 MB Notification: Performance of Templates: time 0.004698/0.1665, allocations: 1.518 MB / 0.5623 GB, free: 14.95 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/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-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: 5.199116826057434]