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.001041/0.001041, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001059/0.001059, allocations: 192 kB / 18.55 MB, free: 4.566 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.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.199/0.199, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.27 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09868, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001893/0.1006, allocations: 490.6 kB / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.1015, allocations: 373.5 kB / 470.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.1016, allocations: 0 / 470.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.1016, allocations: 0 / 470.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.1016, allocations: 0 / 470.2 MB, free: 13.44 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.0008972/0.1025, allocations: 203 kB / 470.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.868e-05/0.1026, allocations: 4 kB / 470.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.1026, allocations: 4 kB / 470.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.1027, allocations: 0 / 470.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.1027, allocations: 11.92 kB / 470.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-06/0.1027, allocations: 0 / 470.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.103, allocations: 167.7 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.103, allocations: 0 / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.1031, allocations: 3.984 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1033, allocations: 159.7 kB / 470.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1034, allocations: 0 / 470.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1034, allocations: 7.938 kB / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1034, allocations: 0 / 470.7 MB, free: 12.89 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.0003836/0.1038, allocations: 365.2 kB / 471.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1038, allocations: 12.03 kB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.1039, allocations: 30.75 kB / 471.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.1039, allocations: 0.9375 kB / 471.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.104, allocations: 172.4 kB / 471.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.104, allocations: 384 / 471.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.104, allocations: 384 / 471.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.473e-05/0.1041, allocations: 34.27 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1041, allocations: 3.938 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.1042, allocations: 0 / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1042, allocations: 0 / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.1042, allocations: 7.938 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.1043, allocations: 145.7 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.742e-05/0.1044, allocations: 14.58 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.1044, allocations: 12.95 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.1044, allocations: 4 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.1044, allocations: 56.27 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1045, allocations: 0 / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001746/0.1046, allocations: 71.27 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1047, allocations: 77.11 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.182e-05/0.1047, allocations: 89.86 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1047, allocations: 29.7 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.1048, allocations: 84.27 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1048, allocations: 7.984 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.1048, allocations: 9.719 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.105, allocations: 310.8 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.105, allocations: 4 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.105, allocations: 0 / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.105, allocations: 64.25 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.105, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.177e-05/0.1051, allocations: 71.41 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.1052, allocations: 29.7 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1052, allocations: 3.938 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.1052, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.1052, allocations: 3.938 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.1052, allocations: 3.984 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.1053, allocations: 4 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1053, allocations: 0 / 472.4 MB, free: 10.92 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 8.074e-05/0.1054, allocations: 131.5 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1054, allocations: 8.031 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.1054, allocations: 14.95 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1054, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1054, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1054, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.1055, allocations: 149.7 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1055, allocations: 0 / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.1055, allocations: 8 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1055, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1056, allocations: 3.938 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1056, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1056, allocations: 4 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1057, allocations: 98.67 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.1057, allocations: 77.11 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1057, allocations: 3.938 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.1058, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.1058, allocations: 4 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1058, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.1058, allocations: 79.31 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1058, allocations: 0 / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1061, allocations: 55.98 kB / 473.1 MB, free: 10.19 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.000619/0.1068, allocations: 0.7213 MB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.1069, allocations: 63.39 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1069, allocations: 0 / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.1069, allocations: 55.41 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.107, allocations: 2.5 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.1073, allocations: 126.6 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.1075, allocations: 0.6729 MB / 474.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.011e-06/0.1076, allocations: 8.062 kB / 474.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.1076, allocations: 7.438 kB / 474.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1076, allocations: 0 / 474.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/0.1457, allocations: 2.478 MB / 477.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/8.744, allocations: 12.08 kB / 477.2 MB, free: 5.98 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