Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 117.4 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 46.92 MB / 357.8 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1561, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005296/0.1614, allocations: 3.542 MB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1632, allocations: 0.8334 MB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.1634, allocations: 8 kB / 0.5608 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.1637, allocations: 79.23 kB / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.164, allocations: 134.8 kB / 0.561 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1644, allocations: 123.8 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.165, allocations: 0.5257 MB / 0.5616 GB, free: 60 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.1654, allocations: 181.9 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.1657, allocations: 219.3 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.166, allocations: 227 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.403e-05/0.166, allocations: 52 kB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.1661, allocations: 48 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1662, allocations: 107.6 kB / 0.5624 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1665, allocations: 254.8 kB / 0.5627 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.1672, allocations: 0.5563 MB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1672, allocations: 0 / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1672, allocations: 4 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1672, allocations: 0 / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001543/0.1687, allocations: 0.7715 MB / 0.564 GB, free: 13.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1688, allocations: 16.02 kB / 0.564 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1689, allocations: 52.61 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.1694, allocations: 321.5 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.1695, allocations: 37.38 kB / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.1696, allocations: 44.38 kB / 0.5644 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.1705, allocations: 471.2 kB / 0.5649 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1705, allocations: 0 / 0.5649 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.1705, allocations: 20 kB / 0.5649 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1705, allocations: 12 kB / 0.5649 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.1713, allocations: 323.8 kB / 0.5652 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.1741, allocations: 1.674 MB / 0.5668 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.1747, allocations: 229 kB / 0.567 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.1751, allocations: 129.8 kB / 0.5672 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1751, allocations: 0 / 0.5672 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.1752, allocations: 38.56 kB / 0.5672 GB, free: 10.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.112e-06/0.1752, allocations: 0 / 0.5672 GB, free: 10.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.00324/0.1784, allocations: 1.35 MB / 0.5685 GB, free: 8.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1785, allocations: 81.11 kB / 0.5686 GB, free: 8.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1788, allocations: 262.6 kB / 0.5689 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.1788, allocations: 33.7 kB / 0.5689 GB, free: 8.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.179, allocations: 264.1 kB / 0.5691 GB, free: 7.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1791, allocations: 138.8 kB / 0.5693 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1792, allocations: 74.09 kB / 0.5693 GB, free: 7.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1794, allocations: 338.8 kB / 0.5697 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.1797, allocations: 108.8 kB / 0.5698 GB, free: 7.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.18, allocations: 220.2 kB / 0.57 GB, free: 7.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.1807, allocations: 344.5 kB / 0.5703 GB, free: 6.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1807, allocations: 0 / 0.5703 GB, free: 6.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000913/0.1816, allocations: 417.9 kB / 0.5707 GB, free: 6.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1817, allocations: 8 kB / 0.5707 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.1817, allocations: 0 / 0.5707 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.1818, allocations: 28.84 kB / 0.5707 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.1823, allocations: 136 kB / 0.5709 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.1837, allocations: 1.435 MB / 0.5723 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.1839, allocations: 19.98 kB / 0.5723 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.184, allocations: 16 kB / 0.5723 GB, free: 4.434 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002634/0.1842, allocations: 167.8 kB / 0.5725 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.031e-05/0.1843, allocations: 43.67 kB / 0.5725 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.1844, allocations: 30.25 kB / 0.5725 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1844, allocations: 8 kB / 0.5725 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1844, allocations: 3.984 kB / 0.5725 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1844, allocations: 4 kB / 0.5726 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.1856, allocations: 0.7038 MB / 0.5732 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1856, allocations: 4.062 kB / 0.5732 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.1861, allocations: 91.88 kB / 0.5733 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.972e-05/0.1862, allocations: 28.84 kB / 0.5734 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.1862, allocations: 11.94 kB / 0.5734 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.1874, allocations: 1.422 MB / 0.5748 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1874, allocations: 3.984 kB / 0.5748 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1885, allocations: 0.6127 MB / 0.5754 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1886, allocations: 124.9 kB / 0.5755 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.1886, allocations: 8 kB / 0.5755 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.1889, allocations: 19.98 kB / 0.5755 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.189, allocations: 27.91 kB / 0.5755 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.189, allocations: 15.98 kB / 0.5755 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1892, allocations: 185.8 kB / 0.5757 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1892, allocations: 0 / 0.5757 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.1897, allocations: 92 kB / 0.5758 GB, free: 0.582 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.1898, allocations: 115.1 kB / 0.5759 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009098/0.1907, allocations: 395.2 kB / 0.5763 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1907, allocations: 4.188 kB / 0.5763 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.1912, allocations: 242.5 kB / 0.5765 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.1917, allocations: 51.53 kB / 0.5766 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1935, allocations: 0.9364 MB / 0.5775 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1939, allocations: 0.8074 MB / 0.5783 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.194, allocations: 35.44 kB / 0.5783 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.194, allocations: 3.938 kB / 0.5783 GB, free: 13.91 MB / 446.1 MB Notification: Performance of Templates: time 0.00916/0.2032, allocations: 5.998 MB / 0.5842 GB, free: 7.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 8.51537521299906]