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.001443/0.001443, allocations: 113.1 kB / 21.93 MB, free: 5.219 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.00152/0.00152, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.461/1.461, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001894/0.001894, allocations: 59.92 kB / 348.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 49.16 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01495/0.3292, allocations: 14.23 MB / 411.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.3415, allocations: 4.54 MB / 416.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00464/0.3462, allocations: 135.5 kB / 416.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01835/0.3645, allocations: 6.693 MB / 423.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007959/0.3725, allocations: 1.871 MB / 425.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004862/0.3773, allocations: 1.604 MB / 426.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01335/0.3907, allocations: 9.509 MB / 436.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02565/0.4163, allocations: 13.45 MB / 449.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009399/0.4257, allocations: 5.393 MB / 455.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.436, allocations: 5.797 MB / 460.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004286/0.4403, allocations: 1.359 MB / 462.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006339/0.4467, allocations: 1.633 MB / 463.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005087/0.4517, allocations: 2.798 MB / 466.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009316/0.4611, allocations: 4.191 MB / 470.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02457/0.4856, allocations: 18.32 MB / 489.1 MB, free: 7.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4856, allocations: 3.938 kB / 489.2 MB, free: 7.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4856, allocations: 0 / 489.2 MB, free: 7.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000494/0.4861, allocations: 0 / 489.2 MB, free: 7.293 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.03791/0.524, allocations: 12.24 MB / 0.4896 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.5241, allocations: 19.92 kB / 0.4897 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06269/0.5868, allocations: 6.277 MB / 0.4958 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.6009, allocations: 5.269 MB / 0.5009 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.6019, allocations: 0.6665 MB / 0.5016 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004079/0.606, allocations: 0.8788 MB / 0.5024 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.042/0.648, allocations: 14.94 MB / 0.517 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004655/0.6485, allocations: 7.953 kB / 0.517 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003558/0.652, allocations: 372 kB / 0.5174 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00069/0.6527, allocations: 0.4954 MB / 0.5179 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03366/0.6864, allocations: 13.46 MB / 0.531 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4815/1.168, allocations: 38.47 MB / 0.5686 GB, free: 119.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/1.178, allocations: 5.942 MB / 0.5744 GB, free: 119.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/1.183, allocations: 2.868 MB / 0.5772 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004013/1.183, allocations: 85.55 kB / 0.5773 GB, free: 119.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/1.184, allocations: 81.78 kB / 0.5774 GB, free: 119.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 8.236e-06/1.184, allocations: 3.406 kB / 0.5774 GB, free: 119.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02007/1.204, allocations: 9.403 MB / 0.5865 GB, free: 117.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/1.204, allocations: 120.2 kB / 0.5867 GB, free: 117.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004398/1.208, allocations: 3.243 MB / 0.5898 GB, free: 116.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007137/1.209, allocations: 93.55 kB / 0.5899 GB, free: 116.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/1.211, allocations: 3.819 MB / 0.5936 GB, free: 114 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.212, allocations: 1.464 MB / 0.5951 GB, free: 113 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/1.214, allocations: 1.13 MB / 0.5962 GB, free: 112.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/1.214, allocations: 304.8 kB / 0.5965 GB, free: 112.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/1.217, allocations: 2.84 MB / 0.5992 GB, free: 111.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004473/1.222, allocations: 4.898 MB / 0.604 GB, free: 107.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/1.23, allocations: 8.256 MB / 0.6121 GB, free: 101.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.19e-05/1.23, allocations: 19.5 kB / 0.6121 GB, free: 101.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01383/1.244, allocations: 9.081 MB / 0.621 GB, free: 94.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/1.244, allocations: 32 kB / 0.621 GB, free: 94.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/1.244, allocations: 68 kB / 0.6211 GB, free: 94.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/1.247, allocations: 1.155 MB / 0.6222 GB, free: 93.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/1.251, allocations: 1.295 MB / 0.6235 GB, free: 92.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.263, allocations: 10.38 MB / 0.6336 GB, free: 81.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/1.268, allocations: 0.7453 MB / 0.6343 GB, free: 80.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008696/1.269, allocations: 276 kB / 0.6346 GB, free: 80.66 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.005205/1.274, allocations: 3.423 MB / 0.6379 GB, free: 77.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007789/1.275, allocations: 365.6 kB / 0.6383 GB, free: 76.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009856/1.284, allocations: 6.863 MB / 0.645 GB, free: 69.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00782/1.292, allocations: 5.705 MB / 0.6506 GB, free: 64.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/1.292, allocations: 12 kB / 0.6506 GB, free: 64.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.577e-05/1.292, allocations: 19.92 kB / 0.6506 GB, free: 64.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02253/1.315, allocations: 13.43 MB / 0.6637 GB, free: 50.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.315, allocations: 12 kB / 0.6637 GB, free: 50.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.318, allocations: 0.7956 MB / 0.6645 GB, free: 49.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/1.32, allocations: 1.06 MB / 0.6655 GB, free: 48.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005808/1.321, allocations: 112.2 kB / 0.6656 GB, free: 48.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/1.333, allocations: 10.15 MB / 0.6755 GB, free: 38.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.333, allocations: 23.86 kB / 0.6756 GB, free: 38.33 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.346, allocations: 10.66 MB / 0.686 GB, free: 27.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/1.349, allocations: 0.9571 MB / 0.6869 GB, free: 26.47 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007726/1.35, allocations: 100 kB / 0.687 GB, free: 26.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.352, allocations: 271.7 kB / 0.6873 GB, free: 26.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005983/1.353, allocations: 355 kB / 0.6876 GB, free: 25.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/1.353, allocations: 144 kB / 0.6877 GB, free: 25.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002627/1.355, allocations: 2.085 MB / 0.6898 GB, free: 23.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.355, allocations: 0 / 0.6898 GB, free: 23.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005976/1.361, allocations: 2.258 MB / 0.692 GB, free: 21.27 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.0007921/1.362, allocations: 282.2 kB / 0.6922 GB, free: 20.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01041/1.373, allocations: 7.145 MB / 0.6992 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-05/1.373, allocations: 5.875 kB / 0.6992 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005403/1.378, allocations: 3.408 MB / 0.7026 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/1.382, allocations: 0.7826 MB / 0.7033 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/1.41, allocations: 16.08 MB / 0.719 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00903/1.419, allocations: 5.292 MB / 0.7242 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.421, allocations: 363.3 kB / 0.7245 GB, free: 3.613 MB / 494.1 MB Notification: Performance of SimCode: time 1.834e-06/1.421, allocations: 4 kB / 0.7245 GB, free: 3.609 MB / 494.1 MB Notification: Performance of Templates: time 0.4285/1.849, allocations: 197.9 MB / 0.9178 GB, free: 30.04 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/jenkins1/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/jenkins1/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: 16.593704739119858]