Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001906/0.001906, 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.002227/0.002227, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.475/1.475, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.91 MB / 355.1 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 75.83 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1467, allocations: 65.41 MB / 0.5517 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00162/0.1483, allocations: 0.4954 MB / 0.5522 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.1492, allocations: 371.3 kB / 0.5526 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.1492, allocations: 0 / 0.5526 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.1493, allocations: 0 / 0.5526 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.1493, allocations: 3.938 kB / 0.5526 GB, free: 9.277 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0008374/0.1501, allocations: 199.6 kB / 0.5528 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.206e-05/0.1502, allocations: 0 / 0.5528 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1502, allocations: 4 kB / 0.5528 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.1502, allocations: 0 / 0.5528 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.206e-05/0.1502, allocations: 0 / 0.5528 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.1502, allocations: 0 / 0.5528 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.1507, allocations: 219.6 kB / 0.553 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.274e-06/0.1507, allocations: 0 / 0.553 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.1507, allocations: 0 / 0.553 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1509, allocations: 155.9 kB / 0.5531 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1509, allocations: 0 / 0.5531 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1509, allocations: 7.938 kB / 0.5531 GB, free: 8.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1509, allocations: 0 / 0.5531 GB, free: 8.703 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.000436/0.1514, allocations: 369 kB / 0.5535 GB, free: 8.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1514, allocations: 8.031 kB / 0.5535 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.1514, allocations: 34.69 kB / 0.5535 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.1515, allocations: 0.9375 kB / 0.5535 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1516, allocations: 160.4 kB / 0.5537 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1516, allocations: 8.312 kB / 0.5537 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1516, allocations: 384 / 0.5537 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.1517, allocations: 34.25 kB / 0.5537 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1517, allocations: 11.94 kB / 0.5537 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.1517, allocations: 0 / 0.5537 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1517, allocations: 0 / 0.5537 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.1517, allocations: 0 / 0.5537 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1519, allocations: 149.7 kB / 0.5539 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.1519, allocations: 24.28 kB / 0.5539 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.1519, allocations: 8.859 kB / 0.5539 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.152, allocations: 4 kB / 0.5539 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.152, allocations: 64.31 kB / 0.554 GB, free: 7.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.152, allocations: 0 / 0.554 GB, free: 7.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.1522, allocations: 71.3 kB / 0.554 GB, free: 7.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.1522, allocations: 77.11 kB / 0.5541 GB, free: 7.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.1523, allocations: 89.86 kB / 0.5542 GB, free: 7.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1523, allocations: 25.7 kB / 0.5542 GB, free: 7.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.1523, allocations: 84.27 kB / 0.5543 GB, free: 7.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.1524, allocations: 0 / 0.5543 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1524, allocations: 21.64 kB / 0.5543 GB, free: 7.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1525, allocations: 310.8 kB / 0.5546 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.1525, allocations: 3.938 kB / 0.5546 GB, free: 6.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-06/0.1525, allocations: 0 / 0.5546 GB, free: 6.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.1526, allocations: 64.27 kB / 0.5547 GB, free: 6.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1526, allocations: 0 / 0.5547 GB, free: 6.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.993e-05/0.1527, allocations: 67.45 kB / 0.5547 GB, free: 6.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.1527, allocations: 31.89 kB / 0.5548 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.1527, allocations: 7.938 kB / 0.5548 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1527, allocations: 0 / 0.5548 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1527, allocations: 0 / 0.5548 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1527, allocations: 0 / 0.5548 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.1528, allocations: 0 / 0.5548 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1528, allocations: 0 / 0.5548 GB, free: 6.727 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.621e-05/0.1529, allocations: 145.7 kB / 0.5549 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-06/0.1529, allocations: 7.984 kB / 0.5549 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.124e-05/0.1529, allocations: 7.062 kB / 0.5549 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1529, allocations: 0 / 0.5549 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1529, allocations: 0 / 0.5549 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1529, allocations: 0 / 0.5549 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.153, allocations: 157.5 kB / 0.5551 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.153, allocations: 0 / 0.5551 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.153, allocations: 0 / 0.5551 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.153, allocations: 0 / 0.5551 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.153, allocations: 7.922 kB / 0.5551 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.153, allocations: 8 kB / 0.5551 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.153, allocations: 0 / 0.5551 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1531, allocations: 82.84 kB / 0.5552 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.1532, allocations: 81.09 kB / 0.5553 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1532, allocations: 7.938 kB / 0.5553 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.1532, allocations: 4 kB / 0.5553 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.1532, allocations: 0 / 0.5553 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1532, allocations: 3.938 kB / 0.5553 GB, free: 6.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.1533, allocations: 79.31 kB / 0.5554 GB, free: 6.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1533, allocations: 0 / 0.5554 GB, free: 6.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1535, allocations: 51.92 kB / 0.5554 GB, free: 5.992 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.0008091/0.1543, allocations: 0.7168 MB / 0.5561 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1544, allocations: 55.41 kB / 0.5562 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1544, allocations: 0 / 0.5562 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.1545, allocations: 63.33 kB / 0.5562 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.1546, allocations: 0 / 0.5562 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.1549, allocations: 134.6 kB / 0.5563 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1552, allocations: 0.6729 MB / 0.557 GB, free: 4.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.59e-06/0.1552, allocations: 4.125 kB / 0.557 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.1553, allocations: 7.438 kB / 0.557 GB, free: 4.219 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1553, allocations: 0 / 0.557 GB, free: 4.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.1812, allocations: 2.453 MB / 0.5594 GB, free: 1.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.227, allocations: 8.062 kB / 0.5594 GB, free: 1.832 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.200195863842964]