Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator",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.0009291/0.0009289, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.186/1.186, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007386/0.0007386, allocations: 99.73 kB / 271.2 MB, free: 8.254 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.3385/0.3385, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003312, allocations: 12 kB / 432.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.0916, allocations: 58.85 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0005394/0.09217, allocations: 220.5 kB / 491.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.09471, allocations: 1.946 MB / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.09475, allocations: 0 / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.09477, allocations: 3.938 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.783e-05/0.0948, allocations: 0 / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000931/0.09573, allocations: 279.4 kB / 493.4 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.09578, allocations: 3.938 kB / 493.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.09583, allocations: 0 / 493.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.52e-05/0.09585, allocations: 8 kB / 493.4 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.1092, allocations: 2.762 MB / 496.1 MB, free: 5.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1092, allocations: 0 / 496.1 MB, free: 5.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.508e-05/0.1093, allocations: 8 kB / 496.1 MB, free: 5.633 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.689e-06/0.1093, allocations: 0 / 496.1 MB, free: 5.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.1094, allocations: 33.64 kB / 496.2 MB, free: 5.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.486e-05/0.1094, allocations: 7.984 kB / 496.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1094, allocations: 0 / 496.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1095, allocations: 4 kB / 496.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1095, allocations: 0 / 496.2 MB, free: 5.582 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002354/0.1097, allocations: 315.4 kB / 496.5 MB, free: 5.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1097, allocations: 12.09 kB / 496.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/0.1098, allocations: 110 kB / 496.6 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.11, allocations: 84.2 kB / 496.7 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1101, allocations: 235.7 kB / 496.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.1102, allocations: 158.9 kB / 497.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.1102, allocations: 158.5 kB / 497.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.47e-05/0.1103, allocations: 105 kB / 497.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1103, allocations: 75.28 kB / 497.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.1104, allocations: 150.6 kB / 497.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.1104, allocations: 150.6 kB / 497.7 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.1105, allocations: 154.6 kB / 497.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.1107, allocations: 453.9 kB / 498.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.1108, allocations: 169.1 kB / 498.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.1108, allocations: 84.14 kB / 498.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1109, allocations: 75.28 kB / 498.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1109, allocations: 109.8 kB / 498.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1109, allocations: 4 kB / 498.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.791e-05/0.111, allocations: 33.62 kB / 498.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.1111, allocations: 178.1 kB / 498.9 MB, free: 2.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.1112, allocations: 89.86 kB / 499 MB, free: 2.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1112, allocations: 29.7 kB / 499 MB, free: 2.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.1112, allocations: 92.2 kB / 499.1 MB, free: 2.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.1112, allocations: 0 / 499.1 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.1112, allocations: 0 / 499.1 MB, free: 2.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.1113, allocations: 310.8 kB / 499.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-06/0.1114, allocations: 0 / 499.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.1114, allocations: 13.72 kB / 499.5 MB, free: 2.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.1114, allocations: 75.28 kB / 499.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.1114, allocations: 79.27 kB / 499.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.36e-05/0.1115, allocations: 41.61 kB / 499.6 MB, free: 1.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.1115, allocations: 79.28 kB / 499.7 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.1116, allocations: 75.28 kB / 499.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.022e-05/0.1116, allocations: 150.6 kB / 499.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.152e-05/0.1117, allocations: 91.27 kB / 0.4883 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.215e-05/0.1117, allocations: 150.6 kB / 0.4885 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.1118, allocations: 83.22 kB / 0.4885 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.1118, allocations: 87.2 kB / 0.4886 GB, free: 1.148 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001054/0.1119, allocations: 260.3 kB / 0.4889 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.112, allocations: 101 kB / 0.489 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.1121, allocations: 116 kB / 0.4891 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/0.1121, allocations: 176.3 kB / 0.4892 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.06e-05/0.1122, allocations: 188.2 kB / 0.4894 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-05/0.1122, allocations: 176.3 kB / 0.4896 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1786/0.2908, allocations: 405.9 kB / 0.49 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.2909, allocations: 101.7 kB / 0.4901 GB, free: 43.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.2909, allocations: 103.2 kB / 0.4902 GB, free: 43.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-05/0.2909, allocations: 184.1 kB / 0.4903 GB, free: 43.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.291, allocations: 180 kB / 0.4905 GB, free: 43.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.409e-05/0.291, allocations: 181 kB / 0.4907 GB, free: 43.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.542e-05/0.291, allocations: 180.5 kB / 0.4909 GB, free: 42.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.471e-05/0.2911, allocations: 311.8 kB / 0.4912 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.2912, allocations: 181.4 kB / 0.4913 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.2912, allocations: 185.9 kB / 0.4915 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2913, allocations: 101.6 kB / 0.4916 GB, free: 42.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.2914, allocations: 182 kB / 0.4918 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2914, allocations: 108.7 kB / 0.4919 GB, free: 41.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.005e-05/0.2914, allocations: 78.09 kB / 0.492 GB, free: 41.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2914, allocations: 0.7656 kB / 0.492 GB, free: 41.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.2918, allocations: 2.781 kB / 0.492 GB, free: 41.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0002278/0.292, allocations: 0.8078 MB / 0.4928 GB, free: 41.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.213e-05/0.2921, allocations: 1.75 kB / 0.4928 GB, free: 41.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2921, allocations: 1.188 kB / 0.4928 GB, free: 41.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.2921, allocations: 0 / 0.4928 GB, free: 41.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2924, allocations: 0.5298 MB / 0.4933 GB, free: 40.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.2927, allocations: 204.6 kB / 0.4935 GB, free: 40.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.2928, allocations: 0.671 MB / 0.4941 GB, free: 39.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.2928, allocations: 8.562 kB / 0.4941 GB, free: 39.58 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2928, allocations: 0 / 0.4941 GB, free: 39.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.436/2.729, allocations: 488.3 kB / 0.4946 GB, free: 39.58 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches