Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001783/0.001783, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.002154/0.002154, allocations: 221.1 kB / 23.01 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2326/0.2326, allocations: 44.24 MB / 330.3 MB, free: 9.617 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003319/0.003319, allocations: 71.89 kB / 467.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1393, allocations: 61.05 MB / 0.5161 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001657/0.1409, allocations: 0.4987 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.1418, allocations: 365.6 kB / 0.517 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.1418, allocations: 0 / 0.517 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1418, allocations: 0 / 0.517 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-06/0.1418, allocations: 4 kB / 0.517 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.1427, allocations: 199.5 kB / 0.5172 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.1427, allocations: 0 / 0.5172 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.1428, allocations: 4 kB / 0.5172 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.4e-05/0.1428, allocations: 0 / 0.5172 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.708e-05/0.1428, allocations: 0 / 0.5172 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.1428, allocations: 3.984 kB / 0.5172 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.1432, allocations: 207.6 kB / 0.5174 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.1432, allocations: 3.984 kB / 0.5174 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1432, allocations: 4 kB / 0.5174 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1435, allocations: 155.8 kB / 0.5175 GB, free: 5.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1435, allocations: 0 / 0.5175 GB, free: 5.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1435, allocations: 3.938 kB / 0.5175 GB, free: 5.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1435, allocations: 0 / 0.5175 GB, free: 5.938 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.0003812/0.1439, allocations: 287.9 kB / 0.5178 GB, free: 5.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1439, allocations: 12.03 kB / 0.5178 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.144, allocations: 30.75 kB / 0.5178 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.144, allocations: 0.9375 kB / 0.5178 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.642e-05/0.1441, allocations: 102.5 kB / 0.5179 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1441, allocations: 4.375 kB / 0.5179 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1441, allocations: 4.375 kB / 0.5179 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1442, allocations: 30.2 kB / 0.518 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1442, allocations: 3.938 kB / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1442, allocations: 7.984 kB / 0.518 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1442, allocations: 0 / 0.518 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.1442, allocations: 0 / 0.518 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.1444, allocations: 120.8 kB / 0.5181 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.1444, allocations: 18.61 kB / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.1444, allocations: 8.859 kB / 0.5181 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.1444, allocations: 3.938 kB / 0.5181 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/0.1445, allocations: 64.27 kB / 0.5182 GB, free: 5.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1445, allocations: 0 / 0.5182 GB, free: 5.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001865/0.1447, allocations: 71.33 kB / 0.5183 GB, free: 5.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.1447, allocations: 77.11 kB / 0.5183 GB, free: 4.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.092e-05/0.1448, allocations: 89.86 kB / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1448, allocations: 29.83 kB / 0.5185 GB, free: 4.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.1449, allocations: 80.14 kB / 0.5185 GB, free: 4.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1449, allocations: 0 / 0.5185 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1449, allocations: 17.7 kB / 0.5185 GB, free: 4.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1451, allocations: 314.8 kB / 0.5188 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.1451, allocations: 0 / 0.5188 GB, free: 4.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.1451, allocations: 0 / 0.5188 GB, free: 4.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.1451, allocations: 68.27 kB / 0.5189 GB, free: 4.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1451, allocations: 0 / 0.5189 GB, free: 4.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.009e-05/0.1452, allocations: 63.39 kB / 0.519 GB, free: 4.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.1453, allocations: 29.7 kB / 0.519 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1453, allocations: 7.938 kB / 0.519 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1453, allocations: 0 / 0.519 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.1453, allocations: 0 / 0.519 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1453, allocations: 0 / 0.519 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.1453, allocations: 4 kB / 0.519 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1453, allocations: 4 kB / 0.519 GB, free: 4.168 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.0001103/0.1454, allocations: 139.6 kB / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.1454, allocations: 0 / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.1455, allocations: 14.86 kB / 0.5192 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1455, allocations: 0 / 0.5192 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1455, allocations: 0 / 0.5192 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1455, allocations: 4 kB / 0.5192 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1456, allocations: 112.8 kB / 0.5193 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1456, allocations: 0 / 0.5193 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-06/0.1456, allocations: 3.938 kB / 0.5193 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1456, allocations: 0 / 0.5193 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1456, allocations: 11.94 kB / 0.5193 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1456, allocations: 0 / 0.5193 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1456, allocations: 3.984 kB / 0.5193 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.1457, allocations: 86.78 kB / 0.5194 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.1457, allocations: 4 kB / 0.5194 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1457, allocations: 7.922 kB / 0.5194 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.1457, allocations: 4 kB / 0.5194 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.1457, allocations: 4.031 kB / 0.5194 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1457, allocations: 4 kB / 0.5194 GB, free: 3.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.1458, allocations: 75.28 kB / 0.5195 GB, free: 3.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1458, allocations: 0 / 0.5195 GB, free: 3.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1461, allocations: 43.88 kB / 0.5195 GB, free: 3.578 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.0007112/0.1468, allocations: 0.7152 MB / 0.5202 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1469, allocations: 67.39 kB / 0.5203 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1469, allocations: 0 / 0.5203 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.1469, allocations: 51.41 kB / 0.5203 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1471, allocations: 5.094 kB / 0.5203 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.1474, allocations: 134.6 kB / 0.5205 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1477, allocations: 0.6729 MB / 0.5211 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.583e-06/0.1477, allocations: 0 / 0.5211 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.1477, allocations: 11.38 kB / 0.5211 GB, free: 1.801 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1477, allocations: 7.938 kB / 0.5211 GB, free: 1.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.1754, allocations: 2.421 MB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.68, allocations: 4 kB / 0.5235 GB, free: 15.36 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.64831990100356]