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.001597/0.001597, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002004/0.002004, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2198/0.2198, allocations: 46.95 MB / 360.9 MB, free: 4.113 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.002094/0.002094, allocations: 67.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001867/0.3122, allocations: 493.1 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000999/0.3132, allocations: 381.2 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.3132, allocations: 0 / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.3133, allocations: 4 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.3133, allocations: 0 / 0.5614 GB, free: 3.359 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.0008191/0.3141, allocations: 207.3 kB / 0.5616 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.3141, allocations: 7.984 kB / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.3142, allocations: 0 / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.092e-05/0.3142, allocations: 0 / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.3142, allocations: 4 kB / 0.5616 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-06/0.3142, allocations: 0 / 0.5616 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.3146, allocations: 219.6 kB / 0.5618 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-06/0.3146, allocations: 0 / 0.5618 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.3146, allocations: 4 kB / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.3149, allocations: 153.4 kB / 0.562 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3149, allocations: 4 kB / 0.562 GB, free: 2.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3149, allocations: 0 / 0.562 GB, free: 2.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3149, allocations: 4 kB / 0.562 GB, free: 2.773 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.0003637/0.3153, allocations: 291.9 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3153, allocations: 16.02 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.3153, allocations: 30.75 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.3154, allocations: 0.9375 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.3155, allocations: 102.5 kB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3155, allocations: 4.375 kB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.3155, allocations: 384 / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3156, allocations: 67.84 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3156, allocations: 3.938 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.3156, allocations: 0 / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3156, allocations: 4 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.3156, allocations: 29.69 kB / 0.5625 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.3158, allocations: 116.8 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.3158, allocations: 40.28 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.3159, allocations: 38.66 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.3159, allocations: 3.938 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3159, allocations: 60.2 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3159, allocations: 0 / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002089/0.3161, allocations: 122.7 kB / 0.5629 GB, free: 1.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.3162, allocations: 89.23 kB / 0.563 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.3163, allocations: 89.86 kB / 0.5631 GB, free: 1.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.3163, allocations: 25.7 kB / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.3163, allocations: 80.14 kB / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3163, allocations: 0 / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.3164, allocations: 17.7 kB / 0.5632 GB, free: 1.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3165, allocations: 310.8 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.3166, allocations: 25.7 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.3166, allocations: 33.64 kB / 0.5635 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.3166, allocations: 68.27 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3166, allocations: 4.062 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.878e-05/0.3167, allocations: 89.09 kB / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.3168, allocations: 29.7 kB / 0.5637 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3168, allocations: 3.938 kB / 0.5637 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3168, allocations: 0 / 0.5637 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3168, allocations: 0 / 0.5637 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3168, allocations: 0 / 0.5637 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.3168, allocations: 4 kB / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3168, allocations: 0 / 0.5637 GB, free: 0.707 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 9.848e-05/0.3169, allocations: 139.5 kB / 0.5638 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.3169, allocations: 8.031 kB / 0.5639 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.3169, allocations: 6.938 kB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3169, allocations: 0 / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3169, allocations: 3.938 kB / 0.5639 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3169, allocations: 0 / 0.5639 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.3171, allocations: 116.8 kB / 0.564 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3171, allocations: 3.984 kB / 0.564 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.3171, allocations: 0 / 0.564 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3171, allocations: 0 / 0.564 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3171, allocations: 7.922 kB / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3171, allocations: 7.922 kB / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3171, allocations: 4 kB / 0.564 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.3172, allocations: 120.5 kB / 0.5641 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.3172, allocations: 4 kB / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3172, allocations: 3.938 kB / 0.5641 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.3172, allocations: 4 kB / 0.5641 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.3172, allocations: 3.984 kB / 0.5641 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3172, allocations: 4 kB / 0.5641 GB, free: 192 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.3173, allocations: 75.28 kB / 0.5642 GB, free: 116 kB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3173, allocations: 0 / 0.5642 GB, free: 116 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3175, allocations: 55.86 kB / 0.5643 GB, free: 60 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.0007628/0.3183, allocations: 0.745 MB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.3184, allocations: 114.8 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3184, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.3185, allocations: 85.11 kB / 0.5652 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.3186, allocations: 3.938 kB / 0.5652 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.319, allocations: 152.5 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.369e-05/0.319, allocations: 55.36 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.883e-06/0.319, allocations: 7.922 kB / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.319, allocations: 7.438 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.319, allocations: 0 / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3477, allocations: 2.976 MB / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.47, allocations: 13.47 kB / 0.5683 GB, free: 11.89 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_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.csv","/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.373019051272422]