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.001324/0.001324, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001587/0.001587, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2306/0.2306, allocations: 46.94 MB / 360.9 MB, free: 4.277 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.001978/0.001978, allocations: 67.89 kB / 0.4961 GB, free: 7.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 66.04 MB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001542/0.3333, allocations: 491.8 kB / 0.5611 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009176/0.3342, allocations: 389.2 kB / 0.5615 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.3342, allocations: 0 / 0.5615 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.3342, allocations: 4 kB / 0.5615 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.3342, allocations: 0 / 0.5615 GB, free: 3.617 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.0008098/0.335, allocations: 211.5 kB / 0.5617 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.196e-05/0.3351, allocations: 0 / 0.5617 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.3351, allocations: 7.984 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.184e-05/0.3351, allocations: 0 / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.585e-05/0.3351, allocations: 0 / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.3351, allocations: 0 / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.3356, allocations: 239.5 kB / 0.5619 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-06/0.3356, allocations: 0 / 0.5619 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.3357, allocations: 3.984 kB / 0.5619 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.3359, allocations: 169.4 kB / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3359, allocations: 0 / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3359, allocations: 0 / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3359, allocations: 0 / 0.5621 GB, free: 3 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.0003701/0.3363, allocations: 295.9 kB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3363, allocations: 8.031 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.3364, allocations: 34.75 kB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.3364, allocations: 0.9375 kB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.809e-05/0.3365, allocations: 102.5 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.3365, allocations: 8.312 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.3365, allocations: 384 / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.331e-05/0.3366, allocations: 34.25 kB / 0.5625 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3366, allocations: 3.938 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.3366, allocations: 0 / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3366, allocations: 0 / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.3366, allocations: 7.938 kB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3368, allocations: 116.8 kB / 0.5627 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/0.3368, allocations: 22.61 kB / 0.5627 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.3368, allocations: 4.859 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.3368, allocations: 0 / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.3369, allocations: 60.25 kB / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3369, allocations: 0 / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001821/0.3371, allocations: 75.3 kB / 0.5628 GB, free: 2.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3371, allocations: 77.11 kB / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.3372, allocations: 93.98 kB / 0.563 GB, free: 1.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3372, allocations: 33.64 kB / 0.563 GB, free: 1.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.3372, allocations: 80.14 kB / 0.5631 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.3373, allocations: 0 / 0.5631 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.3373, allocations: 13.7 kB / 0.5631 GB, free: 1.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3374, allocations: 314.8 kB / 0.5634 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.3375, allocations: 4 kB / 0.5634 GB, free: 1.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.3375, allocations: 0 / 0.5634 GB, free: 1.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.3375, allocations: 68.33 kB / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3375, allocations: 0 / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.045e-05/0.3376, allocations: 67.33 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.3376, allocations: 32.2 kB / 0.5636 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3377, allocations: 3.938 kB / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3377, allocations: 0 / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3377, allocations: 0 / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3377, allocations: 4 kB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.3377, allocations: 0 / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3377, allocations: 0 / 0.5636 GB, free: 1.223 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.0001026/0.3378, allocations: 139.6 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.3378, allocations: 11.97 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.227e-05/0.3378, allocations: 6.938 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3378, allocations: 0 / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3378, allocations: 0 / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3378, allocations: 0 / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.3379, allocations: 116.8 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3379, allocations: 0 / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3379, allocations: 0 / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3379, allocations: 7.938 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.3379, allocations: 7.922 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3379, allocations: 0 / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3379, allocations: 0 / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.338, allocations: 90.78 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.338, allocations: 3.984 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3381, allocations: 7.938 kB / 0.564 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.3381, allocations: 0 / 0.564 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3381, allocations: 4.031 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3381, allocations: 4 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.3381, allocations: 79.22 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3381, allocations: 0 / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3384, allocations: 47.88 kB / 0.5641 GB, free: 0.6211 MB / 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.0006746/0.3391, allocations: 0.7218 MB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.3391, allocations: 59.41 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3392, allocations: 0 / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.3392, allocations: 55.39 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.3393, allocations: 4 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.3396, allocations: 126.8 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3399, allocations: 0.6729 MB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.13e-06/0.3399, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.3399, allocations: 11.44 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3399, allocations: 0 / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.3676, allocations: 2.571 MB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.04, allocations: 13.94 kB / 0.5682 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.97119337299955]