Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009185/0.0009183, allocations: 172.8 kB / 16.72 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007703/0.0007701, allocations: 88.94 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3504/0.3504, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005593/0.1076, allocations: 236.3 kB / 491.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006358/0.1083, allocations: 321.7 kB / 491.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.1083, allocations: 0 / 491.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.746e-06/0.1083, allocations: 0 / 491.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.1084, allocations: 0 / 491.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.109, allocations: 155.7 kB / 491.6 MB, free: 9.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.717e-05/0.109, allocations: 4 kB / 491.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.109, allocations: 0 / 491.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.354e-05/0.1091, allocations: 3.984 kB / 491.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.908e-05/0.1091, allocations: 0 / 491.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-06/0.1091, allocations: 0 / 491.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.1093, allocations: 151.7 kB / 491.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.1093, allocations: 3.984 kB / 491.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.1094, allocations: 25.7 kB / 491.8 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1095, allocations: 95.83 kB / 491.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1096, allocations: 7.938 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1096, allocations: 0 / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1096, allocations: 0 / 491.9 MB, free: 9.566 MB / 378.7 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.000298/0.1099, allocations: 365.2 kB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1099, allocations: 8.031 kB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.1099, allocations: 34.75 kB / 492.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.11, allocations: 0.9375 kB / 492.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.1101, allocations: 160.4 kB / 492.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1101, allocations: 4.312 kB / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.1101, allocations: 384 / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.672e-05/0.1102, allocations: 42.19 kB / 492.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1102, allocations: 3.938 kB / 492.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1102, allocations: 0 / 492.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1102, allocations: 0 / 492.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.447e-05/0.1102, allocations: 0 / 492.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.1103, allocations: 149.7 kB / 492.6 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.213e-05/0.1104, allocations: 14.58 kB / 492.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.1104, allocations: 8.953 kB / 492.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.1104, allocations: 4 kB / 492.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1105, allocations: 64.19 kB / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1105, allocations: 0 / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.1106, allocations: 67.34 kB / 492.8 MB, free: 8.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.1107, allocations: 77.11 kB / 492.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.482e-05/0.1107, allocations: 89.86 kB / 493 MB, free: 8.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1108, allocations: 25.7 kB / 493 MB, free: 8.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.1108, allocations: 84.27 kB / 493.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1108, allocations: 4 kB / 493.1 MB, free: 8.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.1108, allocations: 3.938 kB / 493.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.1109, allocations: 314.8 kB / 493.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.1109, allocations: 0 / 493.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.1109, allocations: 3.938 kB / 493.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.111, allocations: 64.27 kB / 493.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.111, allocations: 64 / 493.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.805e-05/0.1111, allocations: 67.39 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.1111, allocations: 33.69 kB / 493.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1111, allocations: 3.938 kB / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1111, allocations: 0 / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.1111, allocations: 8 kB / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1111, allocations: 0 / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.1112, allocations: 0 / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.1112, allocations: 0 / 493.6 MB, free: 7.617 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.1112, allocations: 143.6 kB / 493.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.1113, allocations: 0 / 493.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.006e-05/0.1113, allocations: 7.062 kB / 493.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1113, allocations: 0 / 493.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1113, allocations: 7.922 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1113, allocations: 0 / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.813e-05/0.1114, allocations: 145.7 kB / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1114, allocations: 0 / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1114, allocations: 0 / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.1114, allocations: 3.938 kB / 493.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1114, allocations: 3.938 kB / 493.9 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1114, allocations: 4 kB / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1114, allocations: 0 / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.773e-05/0.1115, allocations: 92 kB / 494 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.1115, allocations: 77.11 kB / 494 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1116, allocations: 7.938 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.1116, allocations: 3.984 kB / 494.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.1116, allocations: 0 / 494.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1116, allocations: 4.031 kB / 494.1 MB, free: 7.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.283e-05/0.1116, allocations: 75.28 kB / 494.1 MB, free: 6.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 494.1 MB, free: 6.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.1119, allocations: 48 kB / 494.2 MB, free: 6.898 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005516/0.1124, allocations: 0.719 MB / 494.9 MB, free: 6.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.1126, allocations: 59.39 kB / 495 MB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1126, allocations: 0 / 495 MB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.1126, allocations: 59.41 kB / 495 MB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.1127, allocations: 4.281 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.113, allocations: 150 kB / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1133, allocations: 0.677 MB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.1133, allocations: 11.56 kB / 495.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1133, allocations: 3.938 kB / 495.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.998/3.111, allocations: 1.554 MB / 497.4 MB, free: 3.543 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches