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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007628/0.000763, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 12 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.000624/0.1114, allocations: 214.9 kB / 472.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.1122, allocations: 380.8 kB / 472.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.095e-05/0.1123, allocations: 0 / 472.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.1123, allocations: 8 kB / 472.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.1123, allocations: 0 / 472.9 MB, free: 12.65 MB / 350.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.0007324/0.1131, allocations: 155.7 kB / 473.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.375e-05/0.1131, allocations: 0 / 473.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.1132, allocations: 0 / 473.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.1132, allocations: 4 kB / 473.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.1132, allocations: 3.938 kB / 473.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-06/0.1132, allocations: 0 / 473.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.1135, allocations: 175.7 kB / 473.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-06/0.1135, allocations: 0 / 473.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.1136, allocations: 25.7 kB / 473.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1139, allocations: 163.7 kB / 473.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1139, allocations: 0 / 473.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1139, allocations: 0 / 473.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1139, allocations: 4 kB / 473.5 MB, free: 12.12 MB / 350.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.0004045/0.1143, allocations: 361.2 kB / 473.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1144, allocations: 8.031 kB / 473.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.1144, allocations: 34.75 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.1144, allocations: 8.875 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.1145, allocations: 168.3 kB / 474 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1145, allocations: 384 / 474 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1146, allocations: 4.375 kB / 474 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.443e-05/0.1146, allocations: 30.27 kB / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1147, allocations: 3.938 kB / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1147, allocations: 0 / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1147, allocations: 0 / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.1147, allocations: 0 / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1148, allocations: 149.7 kB / 474.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.1149, allocations: 22.52 kB / 474.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.1149, allocations: 8.859 kB / 474.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.1149, allocations: 96 / 474.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.115, allocations: 60.27 kB / 474.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.115, allocations: 0 / 474.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.1151, allocations: 67.33 kB / 474.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1152, allocations: 81.05 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.01e-05/0.1152, allocations: 93.86 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1153, allocations: 29.83 kB / 474.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.1153, allocations: 80.14 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1153, allocations: 0 / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.1154, allocations: 13.72 kB / 474.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1155, allocations: 310.8 kB / 475 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.1155, allocations: 0 / 475 MB, free: 10.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.1155, allocations: 0 / 475 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.1156, allocations: 64.25 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1156, allocations: 4.062 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.225e-05/0.1156, allocations: 63.41 kB / 475.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.1157, allocations: 32.2 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1157, allocations: 3.938 kB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1157, allocations: 3.938 kB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1157, allocations: 7.938 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1157, allocations: 3.984 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.1157, allocations: 0 / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1158, allocations: 0 / 475.1 MB, free: 10.16 MB / 350.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 7.824e-05/0.1158, allocations: 139.6 kB / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.1159, allocations: 0 / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.298e-05/0.1159, allocations: 11.02 kB / 475.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1159, allocations: 0 / 475.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1159, allocations: 0 / 475.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1159, allocations: 0 / 475.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.116, allocations: 157.7 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.116, allocations: 0 / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.116, allocations: 3.938 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.116, allocations: 4 kB / 475.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.116, allocations: 7.938 kB / 475.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.116, allocations: 0 / 475.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.116, allocations: 0 / 475.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/0.1161, allocations: 98.67 kB / 475.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.1162, allocations: 77.11 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1162, allocations: 7.938 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-06/0.1162, allocations: 0 / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.1162, allocations: 4.031 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1162, allocations: 0 / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.167e-05/0.1163, allocations: 75.28 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1163, allocations: 0 / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1166, allocations: 55.98 kB / 475.8 MB, free: 9.418 MB / 350.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.0006656/0.1172, allocations: 0.722 MB / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.313e-05/0.1173, allocations: 67.33 kB / 476.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1173, allocations: 0 / 476.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.1174, allocations: 55.41 kB / 476.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1175, allocations: 0 / 476.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.1178, allocations: 116.5 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.118, allocations: 0.677 MB / 477.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.089e-06/0.118, allocations: 0 / 477.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.1181, allocations: 7.438 kB / 477.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1181, allocations: 0 / 477.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.1308, allocations: 2.316 MB / 479.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.1311, allocations: 240.1 kB / 480 MB, free: 5.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.826, allocations: 0 / 480 MB, free: 5.184 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/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) Reference file matches