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.001266/0.001266, allocations: 117.1 kB / 17.08 MB, free: 6.008 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.001379/0.001379, allocations: 195 kB / 18.01 MB, free: 5.094 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.36/1.36, 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.1945/0.1945, allocations: 43.53 MB / 314.8 MB, free: 456 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.00162/0.00162, allocations: 67.89 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1144, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001677/0.1161, allocations: 494 kB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.1193, allocations: 2.04 MB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1193, allocations: 0 / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.1194, allocations: 0 / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.991e-05/0.1194, allocations: 0 / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1208, allocations: 382.8 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.1208, allocations: 0 / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.1209, allocations: 7.984 kB / 0.4914 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.1209, allocations: 7.984 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01564/0.1365, allocations: 3.361 MB / 0.4946 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1366, allocations: 0 / 0.4946 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.1367, allocations: 8 kB / 0.4946 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.1367, allocations: 0 / 0.4946 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.1367, allocations: 4 kB / 0.4947 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1368, allocations: 11.98 kB / 0.4947 GB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1368, allocations: 0 / 0.4947 GB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1368, allocations: 4 kB / 0.4947 GB, free: 5.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1369, allocations: 0 / 0.4947 GB, free: 5.543 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.0002853/0.1371, allocations: 315.5 kB / 0.495 GB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1372, allocations: 11.89 kB / 0.495 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.1374, allocations: 92.2 kB / 0.4951 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1376, allocations: 239.7 kB / 0.4953 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.1376, allocations: 150.9 kB / 0.4954 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.1377, allocations: 158.6 kB / 0.4956 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.165e-05/0.1378, allocations: 108.9 kB / 0.4957 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1378, allocations: 75.28 kB / 0.4958 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/0.1378, allocations: 158.6 kB / 0.4959 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.1379, allocations: 150.6 kB / 0.4961 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.138, allocations: 150.6 kB / 0.4962 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.1382, allocations: 445.9 kB / 0.4966 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.1383, allocations: 173.1 kB / 0.4968 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.1384, allocations: 88.08 kB / 0.4969 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1384, allocations: 75.28 kB / 0.497 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.1385, allocations: 109.8 kB / 0.4971 GB, free: 2.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1385, allocations: 0 / 0.4971 GB, free: 2.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.959e-05/0.1385, allocations: 25.7 kB / 0.4971 GB, free: 2.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.1386, allocations: 186 kB / 0.4973 GB, free: 2.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/0.1387, allocations: 97.84 kB / 0.4974 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1388, allocations: 25.7 kB / 0.4974 GB, free: 2.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.1388, allocations: 80.14 kB / 0.4975 GB, free: 2.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.1388, allocations: 0 / 0.4975 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1388, allocations: 17.72 kB / 0.4975 GB, free: 2.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1389, allocations: 310.8 kB / 0.4978 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.139, allocations: 0 / 0.4978 GB, free: 2.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.139, allocations: 21.89 kB / 0.4978 GB, free: 2.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.072e-05/0.139, allocations: 75.28 kB / 0.4979 GB, free: 2.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.1391, allocations: 75.28 kB / 0.4979 GB, free: 1.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.754e-05/0.1391, allocations: 37.62 kB / 0.498 GB, free: 1.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.1392, allocations: 79.28 kB / 0.498 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.816e-05/0.1392, allocations: 79.22 kB / 0.4981 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.286e-05/0.1393, allocations: 154.5 kB / 0.4983 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.974e-05/0.1393, allocations: 91.25 kB / 0.4984 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.565e-05/0.1394, allocations: 150.6 kB / 0.4985 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.732e-05/0.1395, allocations: 75.28 kB / 0.4986 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1395, allocations: 83.22 kB / 0.4986 GB, free: 1.207 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.0001137/0.1396, allocations: 264.3 kB / 0.4989 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.1397, allocations: 108.9 kB / 0.499 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.1397, allocations: 120 kB / 0.4991 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001303/0.1399, allocations: 176.3 kB / 0.4993 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.14, allocations: 180.2 kB / 0.4995 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.107e-05/0.14, allocations: 184.2 kB / 0.4996 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1403, allocations: 409.2 kB / 0.5 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/0.1404, allocations: 104.9 kB / 0.5001 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1405, allocations: 101 kB / 0.5002 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.49e-05/0.1406, allocations: 184.2 kB / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/0.1406, allocations: 184.2 kB / 0.5006 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-05/0.1407, allocations: 180.2 kB / 0.5007 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-05/0.1408, allocations: 184.5 kB / 0.5009 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1409, allocations: 311.7 kB / 0.5012 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.141, allocations: 186.1 kB / 0.5014 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.141, allocations: 176.3 kB / 0.5016 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.1411, allocations: 108.9 kB / 0.5017 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.1412, allocations: 188.2 kB / 0.5018 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.1413, allocations: 104.9 kB / 0.5019 GB, free: 13.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.434e-05/0.1413, allocations: 75.28 kB / 0.502 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1413, allocations: 0 / 0.502 GB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1416, allocations: 4 kB / 0.502 GB, free: 13.52 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.000118/0.1417, allocations: 166.6 kB / 0.5022 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 3.947e-05/0.1418, allocations: 4 kB / 0.5022 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1418, allocations: 0 / 0.5022 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1418, allocations: 0 / 0.5022 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1421, allocations: 467.1 kB / 0.5026 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.1424, allocations: 189.8 kB / 0.5028 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1427, allocations: 0.6729 MB / 0.5035 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.1427, allocations: 11.44 kB / 0.5035 GB, free: 11.95 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1427, allocations: 0 / 0.5035 GB, free: 11.95 MB / 398.1 MB Notification: Performance of Templates: time 0.001578/0.1443, allocations: 363.7 kB / 0.5038 GB, free: 11.6 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