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.001661/0.001661, allocations: 104.2 kB / 17.08 MB, free: 5.988 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.00206/0.00206, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.476/1.476, allocations: 205.1 MB / 223.9 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.1979/0.1979, allocations: 43.52 MB / 314.8 MB, free: 464 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.001533/0.001533, allocations: 67.89 kB / 442.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001547/0.1108, allocations: 491 kB / 0.489 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1137, allocations: 2.046 MB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.1137, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.156e-05/0.1137, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.189e-05/0.1138, allocations: 0 / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1149, allocations: 374.8 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.903e-05/0.1149, allocations: 7.984 kB / 0.4914 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.115, allocations: 0 / 0.4914 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.115, allocations: 8 kB / 0.4914 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01532/0.1303, allocations: 3.356 MB / 0.4946 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1303, allocations: 4 kB / 0.4946 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.1304, allocations: 12 kB / 0.4947 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.425e-06/0.1305, allocations: 0 / 0.4947 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.1305, allocations: 7.984 kB / 0.4947 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1306, allocations: 7.984 kB / 0.4947 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1306, allocations: 0 / 0.4947 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1306, allocations: 0 / 0.4947 GB, free: 5.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1307, allocations: 0 / 0.4947 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.0002938/0.131, allocations: 319.5 kB / 0.495 GB, free: 5.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.131, allocations: 11.89 kB / 0.495 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.1312, allocations: 84.2 kB / 0.4951 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1314, allocations: 239.7 kB / 0.4953 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.1315, allocations: 158.9 kB / 0.4954 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.1316, allocations: 154.7 kB / 0.4956 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.1317, allocations: 108.9 kB / 0.4957 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.1317, allocations: 75.28 kB / 0.4958 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.1318, allocations: 158.5 kB / 0.4959 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-05/0.1319, allocations: 154.6 kB / 0.4961 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/0.1319, allocations: 150.6 kB / 0.4962 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1323, allocations: 445.9 kB / 0.4966 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1324, allocations: 169.1 kB / 0.4968 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.1325, allocations: 88.08 kB / 0.4969 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1325, allocations: 75.28 kB / 0.497 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/0.1326, allocations: 109.8 kB / 0.4971 GB, free: 2.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.1326, allocations: 0 / 0.4971 GB, free: 2.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001242/0.1327, allocations: 33.62 kB / 0.4971 GB, free: 2.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.1328, allocations: 102.8 kB / 0.4972 GB, free: 2.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1329, allocations: 93.86 kB / 0.4973 GB, free: 2.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1329, allocations: 29.7 kB / 0.4973 GB, free: 2.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.133, allocations: 84.14 kB / 0.4974 GB, free: 2.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.133, allocations: 0 / 0.4974 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.133, allocations: 9.719 kB / 0.4974 GB, free: 2.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1332, allocations: 314.8 kB / 0.4977 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-06/0.1332, allocations: 0 / 0.4977 GB, free: 2.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.1332, allocations: 17.88 kB / 0.4977 GB, free: 2.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.1333, allocations: 79.28 kB / 0.4978 GB, free: 2.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/0.1333, allocations: 79.28 kB / 0.4979 GB, free: 2.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.386e-05/0.1334, allocations: 37.58 kB / 0.4979 GB, free: 2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.1334, allocations: 83.28 kB / 0.498 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.1335, allocations: 75.28 kB / 0.4981 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.523e-05/0.1336, allocations: 154.6 kB / 0.4982 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.62e-05/0.1336, allocations: 87.23 kB / 0.4983 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-05/0.1337, allocations: 150.6 kB / 0.4984 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.1338, allocations: 87.2 kB / 0.4985 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.1338, allocations: 75.28 kB / 0.4986 GB, free: 1.297 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.0001291/0.1339, allocations: 268.3 kB / 0.4988 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.134, allocations: 108.9 kB / 0.4989 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.1341, allocations: 108 kB / 0.499 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-05/0.1341, allocations: 184.2 kB / 0.4992 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.1342, allocations: 104.9 kB / 0.4993 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.1343, allocations: 182 kB / 0.4995 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.1344, allocations: 176.3 kB / 0.4997 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1345, allocations: 116.9 kB / 0.4998 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.1345, allocations: 180.2 kB / 0.4999 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001026/0.1347, allocations: 259.4 kB / 0.5002 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001955/0.1349, allocations: 387 kB / 0.5006 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.716e-05/0.1349, allocations: 105.3 kB / 0.5007 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.135, allocations: 79.27 kB / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of Backend: time 3e-07/0.135, allocations: 3.938 kB / 0.5007 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1353, allocations: 77.84 kB / 0.5008 GB, free: 14.87 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005512/0.1359, allocations: 0.9007 MB / 0.5017 GB, free: 13.92 MB / 398.1 MB Notification: Performance of Templates: time 0.002354/0.1382, allocations: 304.8 kB / 0.502 GB, free: 13.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