Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.0009224/0.0009224, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002308, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008878/0.0008878, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002276, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1901/1.222, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.596e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007469/0.007505, allocations: 6.975 MB / 229 MB, free: 9.043 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.01308, allocations: 2.308 MB / 231.3 MB, free: 6.723 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.01474, allocations: 63.56 kB / 231.3 MB, free: 6.66 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.01583, allocations: 472.8 kB / 231.8 MB, free: 6.195 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.01888, allocations: 0.8541 MB / 232.7 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.01992, allocations: 371.2 kB / 233 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004415/0.02434, allocations: 3.284 MB / 236.3 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.02681, allocations: 1.556 MB / 237.9 MB, free: 40 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.03149, allocations: 2.535 MB / 240.4 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.03478, allocations: 1.813 MB / 242.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.03646, allocations: 356 kB / 242.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.03824, allocations: 471.7 kB / 243 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008195/0.03906, allocations: 0.7364 MB / 243.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.04089, allocations: 0.9046 MB / 244.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.04433, allocations: 2.574 MB / 247.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.819e-05/0.04435, allocations: 0 / 247.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04435, allocations: 0 / 247.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.507e-05/0.04444, allocations: 0 / 247.2 MB, free: 6.633 MB / 250.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.006515/0.05096, allocations: 3.975 MB / 251.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.051, allocations: 8.031 kB / 251.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.05317, allocations: 0.8394 MB / 252 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.05526, allocations: 0.93 MB / 253 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.0554, allocations: 197.7 kB / 253.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/0.05581, allocations: 264.4 kB / 253.4 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.05928, allocations: 2.166 MB / 255.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/0.05933, allocations: 3.938 kB / 255.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.0595, allocations: 108 kB / 255.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.05962, allocations: 109.4 kB / 255.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.06084, allocations: 0.6147 MB / 256.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.07088, allocations: 6.391 MB / 262.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.07295, allocations: 1.08 MB / 263.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.07336, allocations: 348.9 kB / 264.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.07352, allocations: 45.27 kB / 264.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.07358, allocations: 55.88 kB / 264.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=132): time 5.781e-06/0.07358, allocations: 0 / 264.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002833/0.07642, allocations: 1.379 MB / 265.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.07646, allocations: 94.42 kB / 265.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/0.07737, allocations: 0.8343 MB / 266.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/0.07744, allocations: 53.69 kB / 266.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.07794, allocations: 0.9746 MB / 267.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.07827, allocations: 471.9 kB / 268.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.07852, allocations: 227.4 kB / 268.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.07864, allocations: 365.8 kB / 268.7 MB, free: 488 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.07882, allocations: 123.9 kB / 268.8 MB, free: 364 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.07916, allocations: 403.6 kB / 269.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.07981, allocations: 0.6746 MB / 269.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.07982, allocations: 4 kB / 269.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001126/0.08095, allocations: 0.8819 MB / 270.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.08135, allocations: 8 kB / 270.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.08137, allocations: 8 kB / 270.8 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/0.08209, allocations: 359.3 kB / 271.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.08265, allocations: 279.6 kB / 271.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.0864, allocations: 4.445 MB / 275.9 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.08716, allocations: 119.1 kB / 276 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.08722, allocations: 43.98 kB / 276 MB, free: 8.746 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (131): * Single equations (assignments): 129 * 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.0007467/0.08797, allocations: 184.4 kB / 276.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.08817, allocations: 127.9 kB / 276.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.08927, allocations: 0.8474 MB / 277.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.08928, allocations: 12 kB / 277.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.08929, allocations: 4 kB / 277.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.0893, allocations: 11.97 kB / 277.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.09281, allocations: 2.438 MB / 279.6 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.09282, allocations: 4 kB / 279.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.09322, allocations: 195.6 kB / 279.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.09345, allocations: 146.8 kB / 280 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006372/0.09409, allocations: 367.1 kB / 280.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.09415, allocations: 43.97 kB / 280.4 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1425/0.2367, allocations: 4.391 MB / 284.8 MB, free: 40.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2367, allocations: 3.688 kB / 284.8 MB, free: 40.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.2385, allocations: 1.326 MB / 286.1 MB, free: 39.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.2387, allocations: 38.69 kB / 286.1 MB, free: 39.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.2391, allocations: 66.39 kB / 286.2 MB, free: 39.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.2393, allocations: 109.7 kB / 286.3 MB, free: 39.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.2394, allocations: 32.28 kB / 286.3 MB, free: 39.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004995/0.2399, allocations: 424.9 kB / 286.8 MB, free: 39.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2399, allocations: 0 / 286.8 MB, free: 39.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001421/0.2413, allocations: 0.6991 MB / 287.5 MB, free: 39.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].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 (92): * Single equations (assignments): 90 * 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,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002644/0.2416, allocations: 142 kB / 287.6 MB, free: 39.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.2431, allocations: 1.071 MB / 288.7 MB, free: 39.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.868e-05/0.2431, allocations: 20.16 kB / 288.7 MB, free: 39.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.2441, allocations: 0.8546 MB / 289.5 MB, free: 39.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.2456, allocations: 2.787 MB / 292.3 MB, free: 36.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.2598, allocations: 4.18 MB / 296.5 MB, free: 34.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009814/0.2608, allocations: 0.6479 MB / 297.2 MB, free: 34.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008519/0.2616, allocations: 176.1 kB / 297.3 MB, free: 34.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.2622, allocations: 339.5 kB / 297.7 MB, free: 34.39 MB / 282.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2622, allocations: 0 / 297.7 MB, free: 34.39 MB / 282.7 MB Notification: Performance of Templates: time 0.03094/0.2932, allocations: 23.6 MB / 321.3 MB, free: 19.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4772592075169086]