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.0008282/0.0008282, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003355/0.003355, allocations: 163.6 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8599/0.8599, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2269/0.2269, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 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 1.903e-06/1.903e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.359e-05, allocations: 6.281 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.1803/0.1803, allocations: 3.244 MB / 446.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1814, allocations: 0.7974 MB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1816, allocations: 11.69 kB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1817, allocations: 81.67 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1819, allocations: 136.5 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1822, allocations: 134.9 kB / 447.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.1825, allocations: 0.5352 MB / 448.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.1828, allocations: 169.8 kB / 448.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.183, allocations: 317.5 kB / 448.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1831, allocations: 169.5 kB / 449 MB, free: 41.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.1832, allocations: 50.62 kB / 449 MB, free: 41.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.011e-05/0.1832, allocations: 49.44 kB / 449.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.1833, allocations: 109.8 kB / 449.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1834, allocations: 176.6 kB / 449.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.1838, allocations: 0.5664 MB / 449.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1838, allocations: 3.344 kB / 449.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1838, allocations: 3.469 kB / 449.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1838, allocations: 0 / 449.9 MB, free: 41.47 MB / 410.7 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.0008354/0.1847, allocations: 0.6877 MB / 450.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1847, allocations: 11.41 kB / 450.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1848, allocations: 57.92 kB / 450.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1851, allocations: 261.1 kB / 451 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1852, allocations: 36.75 kB / 451 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.1852, allocations: 46.81 kB / 451 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.1857, allocations: 0.4986 MB / 451.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1857, allocations: 5.484 kB / 451.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.1858, allocations: 19.25 kB / 451.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1858, allocations: 22.03 kB / 451.6 MB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.1862, allocations: 322 kB / 451.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1875, allocations: 1.448 MB / 453.3 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.1878, allocations: 233.6 kB / 453.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.188, allocations: 131.1 kB / 453.7 MB, free: 39.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.188, allocations: 6.312 kB / 453.7 MB, free: 39.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.188, allocations: 37.5 kB / 453.7 MB, free: 39.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.188, allocations: 0 / 453.7 MB, free: 39.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001627/0.1896, allocations: 1.126 MB / 454.9 MB, free: 38.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.1897, allocations: 82.83 kB / 454.9 MB, free: 38.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1898, allocations: 257.3 kB / 455.2 MB, free: 38.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1898, allocations: 33.7 kB / 455.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.1899, allocations: 261.1 kB / 455.5 MB, free: 37.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.19, allocations: 130.3 kB / 455.6 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.19, allocations: 78.34 kB / 455.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.1901, allocations: 338.4 kB / 456 MB, free: 37.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1902, allocations: 102.7 kB / 456.1 MB, free: 37.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1904, allocations: 218.6 kB / 456.3 MB, free: 37.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.1907, allocations: 348.5 kB / 456.7 MB, free: 37.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1907, allocations: 1.5 kB / 456.7 MB, free: 37.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004349/0.1912, allocations: 421.7 kB / 457.1 MB, free: 36.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1912, allocations: 5.406 kB / 457.1 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1912, allocations: 2.656 kB / 457.1 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.1913, allocations: 28.64 kB / 457.1 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1915, allocations: 123.9 kB / 457.2 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005458/0.1921, allocations: 1.311 MB / 458.6 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1922, allocations: 19.77 kB / 458.6 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1922, allocations: 14.34 kB / 458.6 MB, free: 35.52 MB / 410.7 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.0001117/0.1923, allocations: 164.6 kB / 458.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1924, allocations: 30.69 kB / 458.8 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.1924, allocations: 39.2 kB / 458.8 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1924, allocations: 10.53 kB / 458.8 MB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1924, allocations: 3.75 kB / 458.8 MB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1924, allocations: 3.703 kB / 458.8 MB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.193, allocations: 0.5784 MB / 459.4 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.193, allocations: 4.812 kB / 459.4 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.1932, allocations: 94.55 kB / 459.5 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.706e-05/0.1932, allocations: 27.88 kB / 459.5 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1932, allocations: 9.938 kB / 459.6 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004143/0.1937, allocations: 1.294 MB / 460.8 MB, free: 33.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1937, allocations: 3.328 kB / 460.8 MB, free: 33.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.1942, allocations: 0.5935 MB / 461.4 MB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1942, allocations: 54.17 kB / 461.5 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1942, allocations: 7.219 kB / 461.5 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1944, allocations: 16.7 kB / 461.5 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1944, allocations: 26.44 kB / 461.5 MB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1944, allocations: 16.36 kB / 461.6 MB, free: 33.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.1945, allocations: 175.8 kB / 461.7 MB, free: 33.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1945, allocations: 4 kB / 461.7 MB, free: 33.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.1948, allocations: 91.06 kB / 461.8 MB, free: 33.09 MB / 410.7 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 9.613e-05/0.1949, allocations: 106 kB / 461.9 MB, free: 33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.1954, allocations: 407.1 kB / 462.3 MB, free: 32.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1954, allocations: 3.156 kB / 462.3 MB, free: 32.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1955, allocations: 245.2 kB / 462.6 MB, free: 32.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1959, allocations: 43.2 kB / 462.6 MB, free: 32.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.1968, allocations: 0.8393 MB / 463.4 MB, free: 32.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.1969, allocations: 211.9 kB / 463.7 MB, free: 31.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.197, allocations: 30.44 kB / 463.7 MB, free: 31.96 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.197, allocations: 0 / 463.7 MB, free: 31.96 MB / 410.7 MB Notification: Performance of Templates: time 0.004715/0.2017, allocations: 6.133 MB / 469.8 MB, free: 31.38 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/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: 5.2072380455210805]