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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 109.8 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 253.1 MB, free: 13.05 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.2647/0.2647, allocations: 44.91 MB / 353.2 MB, free: 11.86 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.86 kB / 496.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4247, allocations: 64.29 MB / 0.5479 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002395/0.427, allocations: 0.4973 MB / 0.5484 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.4283, allocations: 385 kB / 0.5488 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.4283, allocations: 0 / 0.5488 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.4284, allocations: 1.156 kB / 0.5488 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.4284, allocations: 0 / 0.5488 GB, free: 12.26 MB / 398.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.001175/0.4295, allocations: 216.3 kB / 0.549 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.4296, allocations: 12.98 kB / 0.549 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.4296, allocations: 1.5 kB / 0.549 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.4297, allocations: 0.5 kB / 0.549 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.459e-05/0.4297, allocations: 5.297 kB / 0.549 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.4297, allocations: 0 / 0.549 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005932/0.4303, allocations: 244.2 kB / 0.5492 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.4303, allocations: 0 / 0.5492 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.4303, allocations: 1.5 kB / 0.5492 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.4306, allocations: 166.2 kB / 0.5494 GB, free: 11.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4306, allocations: 0 / 0.5494 GB, free: 11.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4306, allocations: 5.75 kB / 0.5494 GB, free: 11.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4307, allocations: 3.938 kB / 0.5494 GB, free: 11.87 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.0004508/0.4311, allocations: 286.9 kB / 0.5497 GB, free: 11.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4312, allocations: 10.58 kB / 0.5497 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.4312, allocations: 34.75 kB / 0.5497 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.4312, allocations: 2.406 kB / 0.5497 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.4313, allocations: 104 kB / 0.5498 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4313, allocations: 384 / 0.5498 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.4314, allocations: 1.844 kB / 0.5498 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4315, allocations: 65.52 kB / 0.5499 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4315, allocations: 9.406 kB / 0.5499 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.4315, allocations: 0 / 0.5499 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4315, allocations: 3.984 kB / 0.5499 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.4315, allocations: 27.27 kB / 0.5499 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.4317, allocations: 118.3 kB / 0.55 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.009e-05/0.4318, allocations: 47.3 kB / 0.5501 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.4318, allocations: 36.03 kB / 0.5501 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.4318, allocations: 0 / 0.5501 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.4319, allocations: 57.67 kB / 0.5502 GB, free: 10.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4319, allocations: 0 / 0.5502 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002574/0.4321, allocations: 131.3 kB / 0.5503 GB, free: 10.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.4322, allocations: 77.11 kB / 0.5504 GB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.4323, allocations: 91.67 kB / 0.5505 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4323, allocations: 25.7 kB / 0.5505 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.4323, allocations: 84.27 kB / 0.5506 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.4324, allocations: 1.375 kB / 0.5506 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.4324, allocations: 15.31 kB / 0.5506 GB, free: 10.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4326, allocations: 314.8 kB / 0.5509 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.4326, allocations: 27.08 kB / 0.5509 GB, free: 10.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.4326, allocations: 31.19 kB / 0.5509 GB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.4327, allocations: 64.3 kB / 0.551 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4327, allocations: 4.062 kB / 0.551 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001335/0.4329, allocations: 91.73 kB / 0.5511 GB, free: 9.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.4329, allocations: 37.69 kB / 0.5511 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4329, allocations: 5.031 kB / 0.5511 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4329, allocations: 0 / 0.5511 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.4329, allocations: 0 / 0.5511 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.433, allocations: 0.9062 kB / 0.5511 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.433, allocations: 5.016 kB / 0.5511 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.433, allocations: 0 / 0.5511 GB, free: 9.871 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.0001523/0.4331, allocations: 142.6 kB / 0.5513 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.4332, allocations: 1.125 kB / 0.5513 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.4332, allocations: 10.89 kB / 0.5513 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4332, allocations: 0 / 0.5513 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4332, allocations: 5.047 kB / 0.5513 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4332, allocations: 0 / 0.5513 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.4334, allocations: 119 kB / 0.5514 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4334, allocations: 0 / 0.5514 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.4334, allocations: 1.031 kB / 0.5514 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4334, allocations: 4 kB / 0.5514 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4334, allocations: 9.062 kB / 0.5514 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4334, allocations: 4 kB / 0.5514 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4334, allocations: 1.031 kB / 0.5514 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.4336, allocations: 115.1 kB / 0.5515 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.4336, allocations: 1.312 kB / 0.5515 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.4336, allocations: 5.438 kB / 0.5515 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.4336, allocations: 3.984 kB / 0.5515 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.4336, allocations: 1.5 kB / 0.5515 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4336, allocations: 4.031 kB / 0.5515 GB, free: 9.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.091e-05/0.4337, allocations: 76.78 kB / 0.5516 GB, free: 9.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4337, allocations: 0 / 0.5516 GB, free: 9.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.4342, allocations: 54.41 kB / 0.5517 GB, free: 9.297 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.001072/0.4353, allocations: 0.7458 MB / 0.5524 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.4355, allocations: 112.2 kB / 0.5525 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4355, allocations: 0 / 0.5525 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.4356, allocations: 84.97 kB / 0.5526 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.4358, allocations: 5.312 kB / 0.5526 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.4363, allocations: 149 kB / 0.5527 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.4367, allocations: 0.6814 MB / 0.5534 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.276e-06/0.4368, allocations: 0 / 0.5534 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.4368, allocations: 9.5 kB / 0.5534 GB, free: 7.477 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4368, allocations: 0 / 0.5534 GB, free: 7.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.4714, allocations: 2.603 MB / 0.5559 GB, free: 6.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.34, allocations: 3.266 kB / 0.556 GB, free: 6.055 MB / 398.1 MB " [Timeout remaining time 649] (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: 14.260639694985002]