Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 77 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001907/0.1123, allocations: 490 kB / 480.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.1132, allocations: 369.6 kB / 481 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.1132, allocations: 4 kB / 481 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-06/0.1132, allocations: 0 / 481 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.1133, allocations: 0 / 481 MB, free: 4.379 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008485/0.1141, allocations: 211.5 kB / 481.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.1142, allocations: 0 / 481.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1142, allocations: 3.938 kB / 481.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.1143, allocations: 4 kB / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.1143, allocations: 0 / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.964e-06/0.1143, allocations: 0 / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.1147, allocations: 163.7 kB / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-06/0.1147, allocations: 0 / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.1147, allocations: 0 / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.115, allocations: 151.7 kB / 481.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.115, allocations: 4 kB / 481.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.115, allocations: 0 / 481.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.115, allocations: 0 / 481.5 MB, free: 3.852 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.0004111/0.1154, allocations: 369.2 kB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1155, allocations: 8.031 kB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.1155, allocations: 34.75 kB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.1155, allocations: 0.9375 kB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1156, allocations: 160.4 kB / 482.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1156, allocations: 8.312 kB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1157, allocations: 384 / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.791e-05/0.1157, allocations: 34.25 kB / 482.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1158, allocations: 3.938 kB / 482.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.1158, allocations: 4 kB / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1158, allocations: 0 / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.1158, allocations: 0 / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.1159, allocations: 145.7 kB / 482.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/0.116, allocations: 22.55 kB / 482.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.116, allocations: 8.859 kB / 482.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-06/0.116, allocations: 0 / 482.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.116, allocations: 64.31 kB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.116, allocations: 0 / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.1162, allocations: 67.34 kB / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1163, allocations: 77.11 kB / 482.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.6e-05/0.1163, allocations: 89.86 kB / 482.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1163, allocations: 29.77 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.1164, allocations: 84.14 kB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1164, allocations: 0 / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.1164, allocations: 17.7 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1165, allocations: 314.8 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.1165, allocations: 3.938 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-06/0.1166, allocations: 0 / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/0.1166, allocations: 64.2 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1166, allocations: 4.062 kB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.815e-05/0.1167, allocations: 63.39 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.1167, allocations: 33.7 kB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1167, allocations: 7.938 kB / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1168, allocations: 0 / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1168, allocations: 0 / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1168, allocations: 0 / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.1168, allocations: 0 / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1168, allocations: 0 / 483.2 MB, free: 1.883 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.241e-05/0.1169, allocations: 143.5 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.1169, allocations: 3.984 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-06/0.1169, allocations: 7.062 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1169, allocations: 0 / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1169, allocations: 0 / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1169, allocations: 0 / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.858e-05/0.117, allocations: 149.7 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1171, allocations: 0 / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1171, allocations: 0 / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1171, allocations: 3.984 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1171, allocations: 7.922 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1171, allocations: 8 kB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1171, allocations: 4 kB / 483.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.358e-05/0.1172, allocations: 82.84 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.1172, allocations: 85 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1173, allocations: 7.938 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.1173, allocations: 0 / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.1173, allocations: 4 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1173, allocations: 7.969 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.391e-05/0.1173, allocations: 75.28 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1173, allocations: 0 / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1176, allocations: 52 kB / 483.8 MB, free: 1.148 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.0006672/0.1183, allocations: 0.7175 MB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.1184, allocations: 55.41 kB / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1184, allocations: 0 / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/0.1185, allocations: 63.33 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.1186, allocations: 0 / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.1189, allocations: 126.6 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1192, allocations: 0.6769 MB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.164e-06/0.1192, allocations: 4 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.1192, allocations: 7.438 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1192, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.1381, allocations: 2.43 MB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.367, allocations: 7.938 kB / 487.9 MB, free: 13 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches