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: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 114.5 kB / 17.05 MB, free: 5.805 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.001305/0.001305, allocations: 192.5 kB / 17.98 MB, free: 4.988 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.377/1.377, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.1982/0.1982, allocations: 43.52 MB / 314.7 MB, free: 460 kB / 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.001414/0.001414, allocations: 77.45 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1115, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001619/0.1131, allocations: 497.9 kB / 0.4889 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.116, allocations: 2.04 MB / 0.4909 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.116, allocations: 0 / 0.4909 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.116, allocations: 0 / 0.4909 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.1161, allocations: 0 / 0.4909 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1171, allocations: 374.8 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.1172, allocations: 7.938 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.1172, allocations: 0 / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.1173, allocations: 11.98 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01546/0.1327, allocations: 3.36 MB / 0.4946 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1328, allocations: 0 / 0.4946 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.1329, allocations: 11.98 kB / 0.4946 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.1329, allocations: 0 / 0.4946 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.1329, allocations: 8 kB / 0.4946 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1331, allocations: 11.98 kB / 0.4946 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1331, allocations: 0 / 0.4946 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1331, allocations: 0 / 0.4946 GB, free: 5.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1331, allocations: 0 / 0.4946 GB, free: 5.562 MB / 382.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.0003191/0.1334, allocations: 315.5 kB / 0.4949 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1335, allocations: 15.89 kB / 0.4949 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.1337, allocations: 88.2 kB / 0.495 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1338, allocations: 239.7 kB / 0.4952 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.1339, allocations: 150.9 kB / 0.4954 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.1339, allocations: 158.7 kB / 0.4955 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.886e-05/0.134, allocations: 104.9 kB / 0.4956 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.134, allocations: 75.28 kB / 0.4957 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.1341, allocations: 150.6 kB / 0.4959 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.1342, allocations: 158.5 kB / 0.496 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.1342, allocations: 150.6 kB / 0.4962 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.1345, allocations: 449.9 kB / 0.4966 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.638e-05/0.1346, allocations: 169.1 kB / 0.4967 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.1346, allocations: 88.08 kB / 0.4968 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.1347, allocations: 75.28 kB / 0.4969 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.1347, allocations: 109.8 kB / 0.497 GB, free: 2.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1347, allocations: 0 / 0.497 GB, free: 2.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.073e-05/0.1348, allocations: 29.7 kB / 0.497 GB, free: 2.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.1349, allocations: 178.1 kB / 0.4972 GB, free: 2.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.135, allocations: 93.86 kB / 0.4973 GB, free: 2.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.135, allocations: 29.7 kB / 0.4973 GB, free: 2.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.135, allocations: 84.12 kB / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.135, allocations: 0 / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1351, allocations: 13.72 kB / 0.4974 GB, free: 2.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1352, allocations: 318.8 kB / 0.4977 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-06/0.1352, allocations: 0 / 0.4977 GB, free: 2.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.1352, allocations: 17.89 kB / 0.4977 GB, free: 2.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.1353, allocations: 75.28 kB / 0.4978 GB, free: 2.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.1353, allocations: 75.28 kB / 0.4979 GB, free: 1.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.377e-05/0.1353, allocations: 37.64 kB / 0.4979 GB, free: 1.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.1354, allocations: 83.22 kB / 0.498 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.1354, allocations: 87.2 kB / 0.4981 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.269e-05/0.1355, allocations: 150.6 kB / 0.4982 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.298e-05/0.1355, allocations: 83.31 kB / 0.4983 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.382e-05/0.1356, allocations: 154.5 kB / 0.4984 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/0.1357, allocations: 79.28 kB / 0.4985 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.1357, allocations: 79.22 kB / 0.4986 GB, free: 1.227 MB / 382.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.0001119/0.1358, allocations: 264.3 kB / 0.4989 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.1359, allocations: 112.9 kB / 0.499 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.136, allocations: 108.1 kB / 0.4991 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/0.136, allocations: 184.2 kB / 0.4992 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.169e-05/0.1361, allocations: 180.3 kB / 0.4994 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.1362, allocations: 180.2 kB / 0.4996 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1364, allocations: 405.2 kB / 0.5 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.891e-05/0.1365, allocations: 109 kB / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.1365, allocations: 108.9 kB / 0.5002 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.845e-05/0.1366, allocations: 176.3 kB / 0.5003 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.975e-05/0.1367, allocations: 188.2 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.031e-05/0.1367, allocations: 180.3 kB / 0.5007 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-05/0.1368, allocations: 184.5 kB / 0.5009 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1369, allocations: 303.8 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.137, allocations: 190.1 kB / 0.5013 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.1371, allocations: 184.3 kB / 0.5015 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.1372, allocations: 104.9 kB / 0.5016 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.1373, allocations: 180.3 kB / 0.5018 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.1373, allocations: 105 kB / 0.5019 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.1373, allocations: 79.28 kB / 0.502 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1373, allocations: 0 / 0.502 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1376, allocations: 0 / 0.502 GB, free: 13.55 MB / 398.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.0001076/0.1377, allocations: 170.5 kB / 0.5021 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.647e-05/0.1378, allocations: 8.094 kB / 0.5021 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1378, allocations: 0 / 0.5021 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1378, allocations: 0 / 0.5021 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1382, allocations: 467.1 kB / 0.5026 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.1384, allocations: 181.9 kB / 0.5028 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.1386, allocations: 0.6729 MB / 0.5034 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.1386, allocations: 11.44 kB / 0.5034 GB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1386, allocations: 0 / 0.5034 GB, free: 11.98 MB / 398.1 MB Notification: Performance of Templates: time 0.001586/0.1402, allocations: 371.7 kB / 0.5038 GB, free: 11.62 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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