Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.0007457/0.0007457, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009766/0.001722, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006921/0.0006921, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000843/0.001535, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.8882/0.8882, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08293/0.9711, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.239e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01342/0.01343, allocations: 7.586 MB / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006723/0.02016, allocations: 2.583 MB / 255.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/0.02365, allocations: 71.56 kB / 255.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.02441, allocations: 472.8 kB / 255.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.02597, allocations: 0.889 MB / 256.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.02963, allocations: 407.1 kB / 257 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00603/0.03566, allocations: 3.381 MB / 260.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.03718, allocations: 1.591 MB / 262 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005547/0.04273, allocations: 2.594 MB / 264.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004733/0.04746, allocations: 1.816 MB / 266.4 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004014/0.04786, allocations: 356 kB / 266.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.04856, allocations: 479.7 kB / 267.2 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000573/0.04914, allocations: 0.7519 MB / 268 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009369/0.05007, allocations: 0.9046 MB / 268.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.05237, allocations: 2.601 MB / 271.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.05239, allocations: 4 kB / 271.5 MB, free: 3.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.05239, allocations: 3.938 kB / 271.5 MB, free: 3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.05243, allocations: 3.938 kB / 271.5 MB, free: 2.996 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.1085/0.161, allocations: 4.011 MB / 275.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.161, allocations: 11.31 kB / 275.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.1632, allocations: 0.8613 MB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.165, allocations: 1.065 MB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1651, allocations: 197.6 kB / 277.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.1654, allocations: 269.3 kB / 277.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.1682, allocations: 2.163 MB / 280 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.1682, allocations: 1.812 kB / 280 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.1684, allocations: 113.1 kB / 280.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-05/0.1685, allocations: 102.1 kB / 280.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1697, allocations: 0.6232 MB / 280.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006436/0.1761, allocations: 6.363 MB / 287.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.1774, allocations: 1.079 MB / 288.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.1777, allocations: 345.6 kB / 288.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.1791, allocations: 1.259 MB / 289.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1791, allocations: 47 kB / 290 MB, free: 9.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.555e-06/0.1791, allocations: 3.219 kB / 290 MB, free: 9.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002035/0.1812, allocations: 1.274 MB / 291.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.1812, allocations: 88.92 kB / 291.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.1818, allocations: 0.8854 MB / 292.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.1818, allocations: 50.78 kB / 292.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1821, allocations: 1.031 MB / 293.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1822, allocations: 369.5 kB / 293.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.1824, allocations: 206.9 kB / 293.9 MB, free: 7.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.1824, allocations: 354.2 kB / 294.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1826, allocations: 115.2 kB / 294.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1828, allocations: 411.5 kB / 294.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.1833, allocations: 0.6411 MB / 295.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1833, allocations: 3.688 kB / 295.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0008285/0.1841, allocations: 0.8336 MB / 296.2 MB, free: 6.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1841, allocations: 11.94 kB / 296.2 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1841, allocations: 8 kB / 296.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.1847, allocations: 357.7 kB / 296.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.1851, allocations: 234.1 kB / 296.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.1874, allocations: 4.383 MB / 301.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.1877, allocations: 119.2 kB / 301.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.1878, allocations: 35.98 kB / 301.3 MB, free: 1.062 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000311/0.1881, allocations: 186.9 kB / 301.5 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1882, allocations: 119.8 kB / 301.6 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007116/0.1889, allocations: 0.7483 MB / 302.4 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1889, allocations: 8 kB / 302.4 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1889, allocations: 11.98 kB / 302.4 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.1889, allocations: 4.047 kB / 302.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.1912, allocations: 2.014 MB / 304.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1912, allocations: 4 kB / 304.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.1915, allocations: 135.8 kB / 304.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.1917, allocations: 146.8 kB / 304.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000589/0.1922, allocations: 355.7 kB / 305 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.1923, allocations: 31.92 kB / 305.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.1953, allocations: 4.379 MB / 309.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1953, allocations: 0 / 309.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1966, allocations: 1.066 MB / 310.5 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1967, allocations: 24 kB / 310.5 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.197, allocations: 55.97 kB / 310.6 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.1971, allocations: 96.47 kB / 310.7 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.1972, allocations: 30.94 kB / 310.7 MB, free: 7.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003267/0.1975, allocations: 443.2 kB / 311.1 MB, free: 7.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1975, allocations: 0 / 311.1 MB, free: 7.488 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001113/0.1986, allocations: 0.6969 MB / 311.8 MB, free: 6.789 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002079/0.1988, allocations: 137.5 kB / 312 MB, free: 6.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009806/0.1998, allocations: 0.9791 MB / 313 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.867e-05/0.1998, allocations: 24.75 kB / 313 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.2005, allocations: 0.7227 MB / 313.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.2012, allocations: 405.3 kB / 314.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.2147, allocations: 4.105 MB / 318.2 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.2152, allocations: 0.6374 MB / 318.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000466/0.2157, allocations: 166.9 kB / 319 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/0.2161, allocations: 325.1 kB / 319.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2161, allocations: 0 / 319.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.0285/0.2446, allocations: 22.65 MB / 342 MB, free: 9.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9387026969343424]