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.001602/0.001602, allocations: 109.8 kB / 19.17 MB, free: 3.891 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.002284/0.002284, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.48/1.48, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.2321/0.2321, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.002289/0.002289, allocations: 88.14 kB / 0.4923 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1545, allocations: 65.98 MB / 0.5568 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001897/0.1564, allocations: 490 kB / 0.5572 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.16, allocations: 2.146 MB / 0.5593 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.16, allocations: 0 / 0.5593 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.1601, allocations: 0 / 0.5593 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.126e-05/0.1601, allocations: 0 / 0.5593 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1614, allocations: 410 kB / 0.5597 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.1614, allocations: 8 kB / 0.5597 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1615, allocations: 0 / 0.5597 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.1615, allocations: 3.938 kB / 0.5597 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02025/0.1817, allocations: 3.372 MB / 0.563 GB, free: 160 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1817, allocations: 0 / 0.563 GB, free: 160 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.1818, allocations: 15.98 kB / 0.563 GB, free: 144 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.1818, allocations: 4 kB / 0.5631 GB, free: 140 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.1819, allocations: 0 / 0.5631 GB, free: 140 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.182, allocations: 7.984 kB / 0.5631 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.182, allocations: 0 / 0.5631 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.182, allocations: 3.938 kB / 0.5631 GB, free: 128 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.182, allocations: 0 / 0.5631 GB, free: 128 kB / 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.0004342/0.1825, allocations: 327.5 kB / 0.5634 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1825, allocations: 12.03 kB / 0.5634 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.1828, allocations: 88.16 kB / 0.5635 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1829, allocations: 239.7 kB / 0.5637 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/0.183, allocations: 154.9 kB / 0.5638 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.1831, allocations: 150.9 kB / 0.564 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.1832, allocations: 105.3 kB / 0.5641 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.1832, allocations: 79.28 kB / 0.5642 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.1833, allocations: 154.6 kB / 0.5643 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-05/0.1834, allocations: 150.6 kB / 0.5645 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.1834, allocations: 154.5 kB / 0.5646 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1838, allocations: 445.9 kB / 0.565 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1839, allocations: 173.1 kB / 0.5652 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.1839, allocations: 80.14 kB / 0.5653 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.184, allocations: 75.28 kB / 0.5653 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/0.184, allocations: 113.8 kB / 0.5655 GB, free: 13.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.184, allocations: 0 / 0.5655 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.01e-05/0.1841, allocations: 29.64 kB / 0.5655 GB, free: 13.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.1842, allocations: 182.1 kB / 0.5657 GB, free: 13.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1844, allocations: 97.86 kB / 0.5657 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1844, allocations: 25.7 kB / 0.5658 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.1844, allocations: 84.12 kB / 0.5659 GB, free: 13.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.1844, allocations: 0 / 0.5659 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1845, allocations: 13.72 kB / 0.5659 GB, free: 13.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1846, allocations: 311 kB / 0.5662 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/0.1847, allocations: 4 kB / 0.5662 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.1847, allocations: 9.719 kB / 0.5662 GB, free: 12.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.1847, allocations: 75.28 kB / 0.5662 GB, free: 12.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.603e-05/0.1848, allocations: 79.28 kB / 0.5663 GB, free: 12.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.381e-05/0.1848, allocations: 33.64 kB / 0.5664 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.1849, allocations: 87.22 kB / 0.5664 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/0.1849, allocations: 75.28 kB / 0.5665 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.801e-05/0.185, allocations: 162.5 kB / 0.5667 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-05/0.185, allocations: 75.28 kB / 0.5667 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.88e-05/0.1851, allocations: 154.6 kB / 0.5669 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.1852, allocations: 83.16 kB / 0.567 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.1852, allocations: 75.28 kB / 0.567 GB, free: 11.8 MB / 430.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.0001412/0.1854, allocations: 268.4 kB / 0.5673 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.1855, allocations: 112.8 kB / 0.5674 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.1855, allocations: 111.9 kB / 0.5675 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.722e-05/0.1856, allocations: 188.2 kB / 0.5677 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.097e-05/0.1857, allocations: 180.2 kB / 0.5679 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.491e-05/0.1858, allocations: 176.3 kB / 0.568 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.186, allocations: 413.2 kB / 0.5684 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/0.1861, allocations: 101 kB / 0.5685 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.1861, allocations: 101 kB / 0.5686 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.665e-05/0.1862, allocations: 184.1 kB / 0.5688 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/0.1863, allocations: 184.6 kB / 0.569 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-05/0.1864, allocations: 192.2 kB / 0.5691 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.815e-05/0.1865, allocations: 176.3 kB / 0.5693 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.1867, allocations: 307.8 kB / 0.5696 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1868, allocations: 186 kB / 0.5698 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1869, allocations: 188.2 kB / 0.57 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.187, allocations: 101 kB / 0.5701 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.1871, allocations: 184.2 kB / 0.5702 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.1871, allocations: 109 kB / 0.5703 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.1872, allocations: 75.28 kB / 0.5704 GB, free: 8.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1872, allocations: 0 / 0.5704 GB, free: 8.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1874, allocations: 4 kB / 0.5704 GB, free: 8.109 MB / 430.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.00015/0.1876, allocations: 170.6 kB / 0.5706 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.173e-05/0.1876, allocations: 4 kB / 0.5706 GB, free: 7.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1876, allocations: 0 / 0.5706 GB, free: 7.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.1876, allocations: 3.938 kB / 0.5706 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.188, allocations: 455.7 kB / 0.571 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.1883, allocations: 182 kB / 0.5712 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1886, allocations: 0.6729 MB / 0.5719 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.1886, allocations: 7.438 kB / 0.5719 GB, free: 6.555 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1886, allocations: 4 kB / 0.5719 GB, free: 6.551 MB / 430.1 MB Notification: Performance of Templates: time 0.002261/0.1909, allocations: 359.7 kB / 0.5722 GB, free: 6.195 MB / 430.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: 7.226246112026274]