Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.001468/0.001468, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001651/0.001651, allocations: 214.9 kB / 24.47 MB, free: 3.793 MB / 14.72 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.408/1.408, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.91 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 49.15 MB / 396.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01573/0.3448, allocations: 14.24 MB / 411.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3573, allocations: 4.542 MB / 415.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.3606, allocations: 134.5 kB / 415.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01777/0.3783, allocations: 6.69 MB / 422.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008521/0.3868, allocations: 1.874 MB / 424.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0053/0.3921, allocations: 1.601 MB / 425.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01593/0.4081, allocations: 9.508 MB / 435.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02598/0.4341, allocations: 13.46 MB / 448.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01023/0.4443, allocations: 5.386 MB / 454.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.4561, allocations: 5.801 MB / 460.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004542/0.4606, allocations: 1.355 MB / 461.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007386/0.468, allocations: 1.633 MB / 463.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005001/0.473, allocations: 2.802 MB / 465.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01055/0.4836, allocations: 4.191 MB / 470.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02872/0.5123, allocations: 18.32 MB / 488.4 MB, free: 7.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5123, allocations: 0 / 488.4 MB, free: 7.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5123, allocations: 4 kB / 488.4 MB, free: 7.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006245/0.5129, allocations: 0 / 488.4 MB, free: 7.281 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04658/0.5595, allocations: 12.24 MB / 0.4889 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.5596, allocations: 11.98 kB / 0.4889 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03828/0.5978, allocations: 6.288 MB / 0.4951 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/0.6162, allocations: 5.254 MB / 0.5002 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/0.6174, allocations: 0.6704 MB / 0.5008 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005226/0.6226, allocations: 0.8866 MB / 0.5017 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05295/0.6755, allocations: 14.94 MB / 0.5163 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004636/0.676, allocations: 11.95 kB / 0.5163 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004109/0.6801, allocations: 372 kB / 0.5167 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008014/0.6809, allocations: 495.3 kB / 0.5171 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03674/0.7177, allocations: 13.47 MB / 0.5303 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6008/1.318, allocations: 38.46 MB / 0.5679 GB, free: 119.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.331, allocations: 5.948 MB / 0.5737 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/1.335, allocations: 2.866 MB / 0.5765 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/1.336, allocations: 83.92 kB / 0.5765 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/1.336, allocations: 87.05 kB / 0.5766 GB, free: 119.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 7.524e-06/1.336, allocations: 1.219 kB / 0.5766 GB, free: 119.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02044/1.356, allocations: 9.407 MB / 0.5858 GB, free: 117.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/1.356, allocations: 120.1 kB / 0.5859 GB, free: 117.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006775/1.363, allocations: 3.233 MB / 0.5891 GB, free: 116.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00078/1.364, allocations: 92.98 kB / 0.5892 GB, free: 116.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003954/1.368, allocations: 3.824 MB / 0.5929 GB, free: 113.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00298/1.371, allocations: 1.465 MB / 0.5943 GB, free: 113 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002763/1.373, allocations: 1.132 MB / 0.5954 GB, free: 112.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/1.374, allocations: 301.1 kB / 0.5957 GB, free: 112.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006211/1.38, allocations: 2.835 MB / 0.5985 GB, free: 111.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007517/1.387, allocations: 4.9 MB / 0.6033 GB, free: 107.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/1.403, allocations: 8.258 MB / 0.6113 GB, free: 101.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.403, allocations: 20.12 kB / 0.6114 GB, free: 101.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0304/1.434, allocations: 9.078 MB / 0.6202 GB, free: 94.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/1.434, allocations: 32 kB / 0.6203 GB, free: 94.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/1.434, allocations: 68 kB / 0.6203 GB, free: 94.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006146/1.44, allocations: 1.163 MB / 0.6215 GB, free: 93.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009591/1.45, allocations: 1.287 MB / 0.6227 GB, free: 92.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.474, allocations: 10.39 MB / 0.6329 GB, free: 81.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009677/1.484, allocations: 0.7378 MB / 0.6336 GB, free: 80.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/1.486, allocations: 276 kB / 0.6339 GB, free: 80.64 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01268/1.498, allocations: 3.431 MB / 0.6372 GB, free: 77.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002179/1.501, allocations: 365.6 kB / 0.6375 GB, free: 76.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02143/1.522, allocations: 6.866 MB / 0.6443 GB, free: 69.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01535/1.537, allocations: 5.698 MB / 0.6498 GB, free: 64.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.175e-05/1.537, allocations: 12 kB / 0.6498 GB, free: 64.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.77e-05/1.537, allocations: 23.91 kB / 0.6499 GB, free: 64.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04135/1.579, allocations: 13.43 MB / 0.663 GB, free: 50.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/1.579, allocations: 12 kB / 0.663 GB, free: 50.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005816/1.585, allocations: 0.784 MB / 0.6637 GB, free: 49.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005418/1.59, allocations: 1.068 MB / 0.6648 GB, free: 48.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008523/1.591, allocations: 107.9 kB / 0.6649 GB, free: 48.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/1.612, allocations: 10.14 MB / 0.6748 GB, free: 38.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-05/1.612, allocations: 23.88 kB / 0.6748 GB, free: 38.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02528/1.638, allocations: 10.66 MB / 0.6852 GB, free: 27.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005546/1.643, allocations: 0.9571 MB / 0.6862 GB, free: 26.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002036/1.645, allocations: 99.98 kB / 0.6863 GB, free: 26.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004868/1.65, allocations: 271.8 kB / 0.6865 GB, free: 26.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/1.651, allocations: 363 kB / 0.6869 GB, free: 25.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007451/1.652, allocations: 136 kB / 0.687 GB, free: 25.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006379/1.659, allocations: 2.093 MB / 0.689 GB, free: 23.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.659, allocations: 0 / 0.689 GB, free: 23.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01191/1.671, allocations: 2.251 MB / 0.6912 GB, free: 21.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/1.672, allocations: 289 kB / 0.6915 GB, free: 20.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01904/1.691, allocations: 7.138 MB / 0.6985 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-05/1.691, allocations: 4 kB / 0.6985 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009815/1.701, allocations: 3.409 MB / 0.7018 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00779/1.708, allocations: 0.7815 MB / 0.7026 GB, free: 9.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03696/1.745, allocations: 16.32 MB / 0.7185 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009373/1.755, allocations: 5.469 MB / 0.7239 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006145/1.761, allocations: 2.153 MB / 0.726 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.762, allocations: 315.4 kB / 0.7263 GB, free: 1.043 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/1.762, allocations: 0 / 0.7263 GB, free: 1.043 MB / 494.1 MB Notification: Performance of Templates: time 0.4239/2.186, allocations: 62.98 MB / 0.7878 GB, free: 155.4 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.52887941710651]