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.00181/0.00181, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002148/0.002148, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2479/0.2479, allocations: 46.96 MB / 360.9 MB, free: 4.023 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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003159/0.003159, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3359, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001875/0.3377, allocations: 497.1 kB / 0.5611 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3387, allocations: 373.3 kB / 0.5614 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.3388, allocations: 4 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.3388, allocations: 0 / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.3388, allocations: 0 / 0.5614 GB, free: 3.363 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.001083/0.3399, allocations: 211.3 kB / 0.5616 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.3399, allocations: 11.86 kB / 0.5616 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.3399, allocations: 0 / 0.5616 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.34, allocations: 8 kB / 0.5616 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.124e-05/0.34, allocations: 0 / 0.5616 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-06/0.34, allocations: 0 / 0.5616 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.3405, allocations: 215.6 kB / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.3405, allocations: 0 / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.3405, allocations: 4 kB / 0.5618 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.3408, allocations: 153.5 kB / 0.562 GB, free: 2.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3408, allocations: 0 / 0.562 GB, free: 2.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3408, allocations: 0 / 0.562 GB, free: 2.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3408, allocations: 0 / 0.562 GB, free: 2.777 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.0004353/0.3412, allocations: 299.9 kB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3413, allocations: 12.03 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.3413, allocations: 34.73 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.3413, allocations: 0.9375 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.3414, allocations: 106.5 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3415, allocations: 4.312 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.3415, allocations: 384 / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3416, allocations: 55.97 kB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3416, allocations: 3.938 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3416, allocations: 0 / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3416, allocations: 0 / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.07e-05/0.3416, allocations: 29.7 kB / 0.5625 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.3418, allocations: 124.8 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.3418, allocations: 48.25 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.3419, allocations: 30.56 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.3419, allocations: 0 / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.3419, allocations: 60.27 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3419, allocations: 4.062 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002119/0.3421, allocations: 126.7 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.3422, allocations: 77.11 kB / 0.563 GB, free: 1.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.15e-05/0.3423, allocations: 93.92 kB / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3423, allocations: 29.7 kB / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.3423, allocations: 84.14 kB / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.3423, allocations: 0 / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.3424, allocations: 17.7 kB / 0.5632 GB, free: 1.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3425, allocations: 314.8 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.3425, allocations: 29.7 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.3426, allocations: 29.64 kB / 0.5635 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.3426, allocations: 68.27 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3426, allocations: 0 / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.611e-05/0.3427, allocations: 93.16 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.3428, allocations: 29.7 kB / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3428, allocations: 3.938 kB / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3428, allocations: 0 / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.3428, allocations: 0 / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.3428, allocations: 4 kB / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.3428, allocations: 0 / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3428, allocations: 3.938 kB / 0.5637 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.0001049/0.3429, allocations: 143.5 kB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.3429, allocations: 0 / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.3429, allocations: 10.97 kB / 0.5639 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3429, allocations: 0 / 0.5639 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3429, allocations: 0 / 0.5639 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3429, allocations: 0 / 0.5639 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.3431, allocations: 120.8 kB / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3431, allocations: 0 / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.3431, allocations: 0 / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3431, allocations: 3.984 kB / 0.564 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3431, allocations: 3.938 kB / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3431, allocations: 0 / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3431, allocations: 0 / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.3432, allocations: 124.5 kB / 0.5641 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.3432, allocations: 0 / 0.5641 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3432, allocations: 3.938 kB / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.3432, allocations: 0 / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.3433, allocations: 3.938 kB / 0.5641 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3433, allocations: 4 kB / 0.5641 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.659e-05/0.3433, allocations: 75.28 kB / 0.5642 GB, free: 124 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3433, allocations: 0 / 0.5642 GB, free: 124 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.3436, allocations: 55.86 kB / 0.5643 GB, free: 68 kB / 398.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.0008438/0.3445, allocations: 0.7472 MB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.3446, allocations: 114.8 kB / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3446, allocations: 0 / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.393e-05/0.3447, allocations: 85.05 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.3448, allocations: 0 / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.3451, allocations: 152.3 kB / 0.5653 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.3452, allocations: 55.36 kB / 0.5654 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.122e-06/0.3452, allocations: 4.156 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.3452, allocations: 11.44 kB / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3452, allocations: 0 / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.3746, allocations: 2.978 MB / 0.5683 GB, free: 11.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.47, allocations: 11.03 kB / 0.5683 GB, free: 11.9 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] 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: 14.301708147861063]