Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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 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 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 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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",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.001214/0.001214, allocations: 103 kB / 16.27 MB, free: 5.93 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.001369/0.001369, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1904/0.1904, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 72.2 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07889/0.08041, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00149/0.08193, allocations: 481.5 kB / 441.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.08397, allocations: 2.044 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.08401, allocations: 0 / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.969e-06/0.08405, allocations: 4 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.569e-05/0.08407, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.08497, allocations: 378.7 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.089e-05/0.08501, allocations: 4 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.08505, allocations: 3.984 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.08507, allocations: 4 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01394/0.09902, allocations: 3.348 MB / 446.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.09904, allocations: 7.938 kB / 446.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.09912, allocations: 7.984 kB / 446.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.09914, allocations: 3.984 kB / 446.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.09916, allocations: 0 / 446.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.09928, allocations: 16 kB / 446.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.0993, allocations: 0 / 446.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.0993, allocations: 0 / 446.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.09931, allocations: 0 / 446.9 MB, free: 0.5977 MB / 318.1 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.000223/0.09954, allocations: 319.5 kB / 447.2 MB, free: 244 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.09959, allocations: 11.89 kB / 447.2 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.09962, allocations: 110 kB / 447.3 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.0998, allocations: 92.2 kB / 447.4 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.09995, allocations: 243.7 kB / 447.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.1, allocations: 150.9 kB / 447.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.1001, allocations: 154.5 kB / 448 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.198e-05/0.1001, allocations: 101 kB / 448.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.1002, allocations: 75.28 kB / 448.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/0.1002, allocations: 150.6 kB / 448.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.1003, allocations: 158.6 kB / 448.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.904e-05/0.1003, allocations: 158.5 kB / 448.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.1006, allocations: 441.9 kB / 449 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.183e-05/0.1006, allocations: 173 kB / 449.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.1007, allocations: 88.14 kB / 449.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1007, allocations: 79.28 kB / 449.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.1007, allocations: 109.8 kB / 449.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1008, allocations: 0 / 449.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.571e-05/0.1008, allocations: 25.7 kB / 449.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1009, allocations: 178.1 kB / 449.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.101, allocations: 101.8 kB / 449.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.101, allocations: 25.7 kB / 449.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.1011, allocations: 84.14 kB / 449.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.1011, allocations: 0 / 449.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.1011, allocations: 13.72 kB / 449.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.1012, allocations: 310.8 kB / 450.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.1012, allocations: 0 / 450.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.1012, allocations: 17.84 kB / 450.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.1013, allocations: 75.28 kB / 450.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.1013, allocations: 79.22 kB / 450.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.389e-05/0.1014, allocations: 33.64 kB / 450.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.1014, allocations: 83.27 kB / 450.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.1014, allocations: 75.33 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.224e-05/0.1015, allocations: 162.5 kB / 450.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-05/0.1015, allocations: 87.25 kB / 450.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-05/0.1016, allocations: 154.5 kB / 450.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.1016, allocations: 75.28 kB / 451 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1017, allocations: 75.28 kB / 451.1 MB, free: 12.15 MB / 334.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.1018, allocations: 269.4 kB / 451.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.1018, allocations: 116.9 kB / 451.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.1019, allocations: 108.1 kB / 451.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.1019, allocations: 180.2 kB / 451.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-05/0.102, allocations: 176.3 kB / 451.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-05/0.102, allocations: 176.3 kB / 452.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1023, allocations: 417.1 kB / 452.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/0.1023, allocations: 101 kB / 452.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.1024, allocations: 108.9 kB / 452.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-05/0.1024, allocations: 184.2 kB / 452.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.1025, allocations: 176.3 kB / 453 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.464e-05/0.1026, allocations: 184.1 kB / 453.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.609e-05/0.1026, allocations: 188.3 kB / 453.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1027, allocations: 307.7 kB / 453.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.1028, allocations: 182.5 kB / 453.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.1029, allocations: 184.2 kB / 454.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.103, allocations: 101 kB / 454.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.103, allocations: 192.2 kB / 454.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.1031, allocations: 105 kB / 454.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.1031, allocations: 75.28 kB / 454.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1031, allocations: 0 / 454.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1034, allocations: 4 kB / 454.5 MB, free: 8.465 MB / 334.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: 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 (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.0003598/0.1037, allocations: 0.8087 MB / 455.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.972e-05/0.1038, allocations: 0 / 455.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1038, allocations: 0 / 455.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1038, allocations: 0 / 455.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1041, allocations: 463.7 kB / 455.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1044, allocations: 174 kB / 456 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1047, allocations: 0.6728 MB / 456.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.897e-05/0.1047, allocations: 3.984 kB / 456.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.1047, allocations: 7.438 kB / 456.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1048, allocations: 0 / 456.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.458/1.563, allocations: 1.002 MB / 457.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.576/11.14, allocations: 0 / 457.7 MB, free: 5.203 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches