Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2279/0.2279, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 80.06 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.306, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001611/0.3076, allocations: 485 kB / 0.5616 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.3108, allocations: 2.174 MB / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.3108, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.3108, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.652e-05/0.3108, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3119, allocations: 406.5 kB / 0.5641 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.879e-05/0.312, allocations: 4 kB / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.312, allocations: 7.984 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.374e-05/0.312, allocations: 0 / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02008/0.3321, allocations: 3.384 MB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3321, allocations: 0 / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.3322, allocations: 4 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.3322, allocations: 0 / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.3322, allocations: 0 / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3324, allocations: 19.97 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3324, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3324, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3324, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.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.0003629/0.3328, allocations: 315.5 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3328, allocations: 8.031 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.333, allocations: 88.2 kB / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3332, allocations: 239.6 kB / 0.5681 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.3333, allocations: 158.9 kB / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.3333, allocations: 150.9 kB / 0.5684 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.3334, allocations: 109.2 kB / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.3335, allocations: 75.28 kB / 0.5686 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.3335, allocations: 154.5 kB / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/0.3336, allocations: 154.6 kB / 0.5689 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.3337, allocations: 150.6 kB / 0.569 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.334, allocations: 446 kB / 0.5694 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3341, allocations: 169.1 kB / 0.5696 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.3342, allocations: 88.08 kB / 0.5697 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.3342, allocations: 79.28 kB / 0.5698 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.225e-05/0.3343, allocations: 113.8 kB / 0.5699 GB, free: 12.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3343, allocations: 0 / 0.5699 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.745e-05/0.3344, allocations: 29.69 kB / 0.5699 GB, free: 12.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.3344, allocations: 106.8 kB / 0.57 GB, free: 12.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3345, allocations: 93.86 kB / 0.5701 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3346, allocations: 29.83 kB / 0.5701 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.3346, allocations: 80.14 kB / 0.5702 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.3346, allocations: 0 / 0.5702 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.3346, allocations: 13.72 kB / 0.5702 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3348, allocations: 314.8 kB / 0.5705 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-06/0.3348, allocations: 0 / 0.5705 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.3348, allocations: 9.719 kB / 0.5705 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.3348, allocations: 79.31 kB / 0.5706 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.223e-05/0.3349, allocations: 79.28 kB / 0.5707 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.271e-05/0.3349, allocations: 29.69 kB / 0.5707 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/0.335, allocations: 87.22 kB / 0.5708 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.335, allocations: 79.22 kB / 0.5709 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-05/0.3351, allocations: 154.5 kB / 0.571 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-05/0.3351, allocations: 87.27 kB / 0.5711 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.021e-05/0.3352, allocations: 154.6 kB / 0.5712 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.3353, allocations: 79.28 kB / 0.5713 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.3353, allocations: 83.2 kB / 0.5714 GB, free: 10.92 MB / 414.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.0001353/0.3355, allocations: 260.4 kB / 0.5716 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.3355, allocations: 104.9 kB / 0.5717 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.3356, allocations: 123.8 kB / 0.5719 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.42e-05/0.3357, allocations: 180.3 kB / 0.572 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.031e-05/0.3357, allocations: 105 kB / 0.5721 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.3358, allocations: 182 kB / 0.5723 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.3359, allocations: 176.3 kB / 0.5725 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.336, allocations: 108.9 kB / 0.5726 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.3361, allocations: 184.3 kB / 0.5728 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001233/0.3362, allocations: 259.5 kB / 0.573 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002087/0.3364, allocations: 383 kB / 0.5734 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.055e-05/0.3365, allocations: 105.3 kB / 0.5735 GB, free: 8.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.3365, allocations: 79.28 kB / 0.5735 GB, free: 8.594 MB / 414.1 MB Notification: Performance of Backend: time 2.21e-07/0.3365, allocations: 0 / 0.5735 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.3368, allocations: 78.39 kB / 0.5736 GB, free: 8.512 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005487/0.3374, allocations: 0.9007 MB / 0.5745 GB, free: 7.559 MB / 414.1 MB Notification: Performance of Templates: time 0.002579/0.34, allocations: 306.9 kB / 0.5748 GB, free: 7.262 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.728834691923112]