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.001168/0.001168, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 75.28 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.123, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002297/0.1253, allocations: 0.5449 MB / 480.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008701/0.1262, allocations: 365.7 kB / 480.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.1263, allocations: 0 / 480.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1263, allocations: 0 / 480.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.1263, allocations: 0 / 480.5 MB, free: 4.617 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.000856/0.1272, allocations: 182.8 kB / 480.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.1272, allocations: 3.984 kB / 480.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.1273, allocations: 7.984 kB / 480.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.1273, allocations: 7.938 kB / 480.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.106e-05/0.1273, allocations: 0 / 480.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-06/0.1273, allocations: 0 / 480.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.1277, allocations: 171.7 kB / 480.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.1277, allocations: 3.984 kB / 480.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1277, allocations: 0 / 480.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.128, allocations: 155.6 kB / 481 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.128, allocations: 4 kB / 481 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.128, allocations: 0 / 481 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.128, allocations: 3.984 kB / 481 MB, free: 4.09 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.0003718/0.1284, allocations: 369.2 kB / 481.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1284, allocations: 11.97 kB / 481.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.1285, allocations: 34.75 kB / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.1285, allocations: 0.9375 kB / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/0.1286, allocations: 160.4 kB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1286, allocations: 4.375 kB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1286, allocations: 384 / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.1287, allocations: 30.27 kB / 481.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1287, allocations: 3.938 kB / 481.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1287, allocations: 0 / 481.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1288, allocations: 4 kB / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.1288, allocations: 3.984 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.1289, allocations: 145.7 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.1289, allocations: 18.52 kB / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.129, allocations: 12.95 kB / 481.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.129, allocations: 0 / 481.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.129, allocations: 60.27 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.129, allocations: 0 / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001765/0.1292, allocations: 71.27 kB / 481.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1293, allocations: 77.11 kB / 482 MB, free: 2.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.451e-05/0.1293, allocations: 89.86 kB / 482.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1293, allocations: 25.7 kB / 482.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.1294, allocations: 84.14 kB / 482.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1294, allocations: 4 kB / 482.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1294, allocations: 9.844 kB / 482.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1296, allocations: 318.8 kB / 482.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.1296, allocations: 4 kB / 482.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.1296, allocations: 0 / 482.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/0.1296, allocations: 60.27 kB / 482.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1297, allocations: 3.938 kB / 482.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.961e-05/0.1297, allocations: 71.33 kB / 482.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.1298, allocations: 36.36 kB / 482.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1298, allocations: 8.031 kB / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1298, allocations: 0 / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.1298, allocations: 0 / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.1298, allocations: 0 / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.1299, allocations: 0 / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1299, allocations: 7.984 kB / 482.7 MB, free: 2.113 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 9.597e-05/0.13, allocations: 135.5 kB / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.13, allocations: 0 / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.13, allocations: 15.05 kB / 482.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.13, allocations: 4 kB / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.13, allocations: 0 / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.13, allocations: 0 / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1302, allocations: 145.7 kB / 483 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1302, allocations: 0 / 483 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1302, allocations: 0 / 483 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1302, allocations: 4 kB / 483 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1302, allocations: 3.938 kB / 483 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1302, allocations: 0 / 483 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1302, allocations: 3.984 kB / 483 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1303, allocations: 94.78 kB / 483.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.1304, allocations: 85 kB / 483.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1304, allocations: 7.922 kB / 483.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.1304, allocations: 0 / 483.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.1304, allocations: 4 kB / 483.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1305, allocations: 0 / 483.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.1305, allocations: 75.28 kB / 483.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1305, allocations: 0 / 483.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.1308, allocations: 52.03 kB / 483.3 MB, free: 1.391 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.0007953/0.1316, allocations: 0.7213 MB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1317, allocations: 67.38 kB / 484.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1318, allocations: 3.938 kB / 484.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/0.1318, allocations: 55.41 kB / 484.2 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1319, allocations: 7.984 kB / 484.2 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.1323, allocations: 118.6 kB / 484.3 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1325, allocations: 0.6768 MB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.654e-06/0.1326, allocations: 0 / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.1326, allocations: 7.438 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1326, allocations: 128 / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.1475, allocations: 2.377 MB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.1477, allocations: 230.8 kB / 487.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/1.994, allocations: 0 / 487.6 MB, free: 13.08 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