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.001099/0.001103, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001173/0.001173, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.56 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001564/0.1122, allocations: 499 kB / 469.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.113, allocations: 377.5 kB / 470.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.113, allocations: 3.938 kB / 470.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.808e-06/0.113, allocations: 0 / 470.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-06/0.1131, allocations: 0 / 470.2 MB, free: 13.41 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.0007005/0.1138, allocations: 187.5 kB / 470.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.809e-05/0.1138, allocations: 8 kB / 470.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.1138, allocations: 7.984 kB / 470.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.2e-05/0.1139, allocations: 4 kB / 470.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.1139, allocations: 11.92 kB / 470.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-06/0.1139, allocations: 0 / 470.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.1142, allocations: 167.7 kB / 470.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-06/0.1142, allocations: 0 / 470.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.1142, allocations: 0 / 470.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1144, allocations: 155.7 kB / 470.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1144, allocations: 3.984 kB / 470.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1144, allocations: 0 / 470.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1144, allocations: 7.938 kB / 470.7 MB, free: 12.87 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.0003191/0.1148, allocations: 372.1 kB / 471.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1148, allocations: 8.031 kB / 471.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.658e-05/0.1148, allocations: 34.75 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.1149, allocations: 0.9375 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/0.115, allocations: 160.4 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.115, allocations: 384 / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.115, allocations: 384 / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.801e-05/0.1151, allocations: 38.2 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1151, allocations: 3.938 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1151, allocations: 3.984 kB / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1151, allocations: 0 / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.1151, allocations: 0 / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.1153, allocations: 149.7 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.1153, allocations: 14.58 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.1153, allocations: 8.953 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.1153, allocations: 4 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.1154, allocations: 60.2 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1154, allocations: 0 / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.1155, allocations: 71.33 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1156, allocations: 77.11 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.1156, allocations: 89.86 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1156, allocations: 25.7 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.1157, allocations: 80.14 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1157, allocations: 8.125 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.1157, allocations: 13.7 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.1158, allocations: 310.8 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.1158, allocations: 4 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.1158, allocations: 3.938 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.1159, allocations: 64.27 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1159, allocations: 0 / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.221e-05/0.116, allocations: 63.45 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.116, allocations: 33.7 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.116, allocations: 7.875 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.116, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.116, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.116, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.1161, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1161, allocations: 4 kB / 472.4 MB, free: 10.91 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.033e-05/0.1162, allocations: 139.5 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.1162, allocations: 4.031 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.1162, allocations: 19 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1162, allocations: 3.938 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1162, allocations: 3.938 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1162, allocations: 0 / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.182e-05/0.1163, allocations: 141.7 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1163, allocations: 0 / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.1163, allocations: 4 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1163, allocations: 7.984 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1163, allocations: 3.938 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1163, allocations: 3.984 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1163, allocations: 4 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.18e-05/0.1164, allocations: 90.75 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.1165, allocations: 77.11 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1165, allocations: 7.922 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.1165, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.1165, allocations: 4 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1165, allocations: 0 / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.1166, allocations: 79.31 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1166, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1169, allocations: 48 kB / 473.1 MB, free: 10.17 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.000591/0.1175, allocations: 0.728 MB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.1176, allocations: 59.41 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1176, allocations: 0 / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.1176, allocations: 55.41 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.1177, allocations: 10.42 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.118, allocations: 122.6 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1182, allocations: 0.6768 MB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.489e-06/0.1183, allocations: 4.125 kB / 474.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.1183, allocations: 11.38 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1183, allocations: 0 / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.1367, allocations: 2.472 MB / 477.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.673, allocations: 18.84 kB / 477.2 MB, free: 5.953 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 & 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) 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) Reference file matches