Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001927/0.001927, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002581/0.002581, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2781/0.2781, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003597/0.003597, allocations: 79.88 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4812, allocations: 66.08 MB / 0.5611 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002339/0.4835, allocations: 499.2 kB / 0.5616 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.4885, allocations: 2.057 MB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.4885, allocations: 0 / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.4886, allocations: 0 / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.4886, allocations: 0 / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.4904, allocations: 406.7 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.4905, allocations: 8 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.4905, allocations: 7.984 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.4906, allocations: 0 / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03017/0.5207, allocations: 3.379 MB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.5207, allocations: 0 / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.5209, allocations: 7.984 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.5209, allocations: 8 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.5209, allocations: 0 / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.5211, allocations: 11.88 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5211, allocations: 0 / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5211, allocations: 0 / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.5211, allocations: 0 / 0.5674 GB, free: 14.22 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.0004524/0.5216, allocations: 246.4 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5216, allocations: 8.031 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.5219, allocations: 92.2 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.5221, allocations: 177.8 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.5222, allocations: 150.9 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.5223, allocations: 150.9 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.5224, allocations: 109.3 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.5225, allocations: 75.28 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.5226, allocations: 154.6 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-05/0.5227, allocations: 150.6 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.5227, allocations: 158.5 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.5231, allocations: 389.6 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.5233, allocations: 177.1 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.5233, allocations: 84.12 kB / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.5234, allocations: 75.28 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.81e-05/0.5235, allocations: 113.8 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.5235, allocations: 0 / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001038/0.5236, allocations: 33.58 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.5237, allocations: 178.1 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5239, allocations: 97.86 kB / 0.5699 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.5239, allocations: 25.7 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.524, allocations: 80.14 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.524, allocations: 4.125 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.524, allocations: 13.72 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5242, allocations: 314.8 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.5242, allocations: 0 / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.5243, allocations: 65.12 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.5243, allocations: 79.22 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.104e-05/0.5244, allocations: 75.28 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.132e-05/0.5244, allocations: 29.7 kB / 0.5705 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.5245, allocations: 83.28 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.835e-05/0.5246, allocations: 83.22 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.5247, allocations: 166.6 kB / 0.5708 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.5247, allocations: 79.27 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-05/0.5248, allocations: 154.5 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.525, allocations: 79.28 kB / 0.5711 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.525, allocations: 75.28 kB / 0.5712 GB, free: 10.06 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.0001906/0.5252, allocations: 264.4 kB / 0.5715 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5253, allocations: 108.9 kB / 0.5716 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-05/0.5254, allocations: 119.7 kB / 0.5717 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/0.5255, allocations: 180.2 kB / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/0.5256, allocations: 176.3 kB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/0.5257, allocations: 184.3 kB / 0.5722 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.526, allocations: 356.8 kB / 0.5725 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.524e-05/0.5261, allocations: 105 kB / 0.5726 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.5261, allocations: 104.9 kB / 0.5727 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.373e-05/0.5262, allocations: 176.3 kB / 0.5729 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.5263, allocations: 180.3 kB / 0.5731 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/0.5264, allocations: 188.1 kB / 0.5733 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001077/0.5265, allocations: 188.2 kB / 0.5734 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.5267, allocations: 304.1 kB / 0.5737 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.5268, allocations: 108.9 kB / 0.5738 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.5269, allocations: 184.3 kB / 0.574 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.527, allocations: 116.9 kB / 0.5741 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5272, allocations: 180.2 kB / 0.5743 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.5273, allocations: 105 kB / 0.5744 GB, free: 6.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.5273, allocations: 75.28 kB / 0.5745 GB, free: 6.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5273, allocations: 0 / 0.5745 GB, free: 6.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004086/0.5277, allocations: 0 / 0.5745 GB, free: 6.539 MB / 414.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.0002443/0.528, allocations: 174.5 kB / 0.5746 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.5281, allocations: 7.938 kB / 0.5746 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5281, allocations: 0 / 0.5746 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.5281, allocations: 4.094 kB / 0.5746 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.5286, allocations: 455.7 kB / 0.5751 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.5289, allocations: 152.3 kB / 0.5752 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.821e-05/0.529, allocations: 55.36 kB / 0.5753 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.5291, allocations: 0 / 0.5753 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.5291, allocations: 7.438 kB / 0.5753 GB, free: 5.637 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5291, allocations: 0 / 0.5753 GB, free: 5.637 MB / 414.1 MB Notification: Performance of Templates: time 0.003352/0.5324, allocations: 337.6 kB / 0.5756 GB, free: 5.316 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.423339022323489]