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.001869/0.001869, allocations: 83.69 kB / 22 MB, free: 5.18 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.002182/0.002182, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.323/1.323, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.1 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.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.001814/0.001814, allocations: 55.92 kB / 299.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2177, allocations: 49.14 MB / 348.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01718/0.2348, allocations: 14.25 MB / 362.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009959/0.2448, allocations: 4.533 MB / 367.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.2478, allocations: 135.3 kB / 367.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01722/0.265, allocations: 7.06 MB / 374.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.2713, allocations: 1.885 MB / 376.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.2753, allocations: 1.605 MB / 378 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01185/0.2871, allocations: 9.513 MB / 387.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02007/0.3072, allocations: 13.46 MB / 401 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007858/0.315, allocations: 5.382 MB / 406.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.3253, allocations: 5.805 MB / 412.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003543/0.3288, allocations: 1.359 MB / 413.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004771/0.3336, allocations: 1.636 MB / 415.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004129/0.3377, allocations: 2.79 MB / 417.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00733/0.345, allocations: 4.187 MB / 422.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01954/0.3646, allocations: 18.32 MB / 440.4 MB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3646, allocations: 7.938 kB / 440.4 MB, free: 4.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3646, allocations: 0 / 440.4 MB, free: 4.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003456/0.3649, allocations: 0 / 440.4 MB, free: 4.879 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.03449/0.3994, allocations: 12.24 MB / 452.7 MB, free: 8.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3995, allocations: 11.98 kB / 452.7 MB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03682/0.4363, allocations: 6.28 MB / 459 MB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.4485, allocations: 5.258 MB / 464.2 MB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000679/0.4491, allocations: 0.6743 MB / 464.9 MB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/0.452, allocations: 0.871 MB / 465.8 MB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03293/0.4849, allocations: 14.94 MB / 480.7 MB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00022/0.4852, allocations: 19.88 kB / 480.7 MB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/0.4865, allocations: 376 kB / 481.1 MB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005477/0.487, allocations: 495.3 kB / 481.6 MB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1984/0.6854, allocations: 13.46 MB / 495.1 MB, free: 111.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05106/0.7365, allocations: 38.51 MB / 0.5211 GB, free: 85.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007965/0.7444, allocations: 5.951 MB / 0.5269 GB, free: 80.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/0.7476, allocations: 2.856 MB / 0.5297 GB, free: 77.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.7479, allocations: 79.94 kB / 0.5297 GB, free: 77.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.7479, allocations: 78.56 kB / 0.5298 GB, free: 77.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.732e-06/0.7479, allocations: 0 / 0.5298 GB, free: 77.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01679/0.7647, allocations: 9.422 MB / 0.539 GB, free: 67.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.7647, allocations: 125.1 kB / 0.5391 GB, free: 67.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/0.7681, allocations: 3.227 MB / 0.5423 GB, free: 64.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002707/0.7684, allocations: 89.7 kB / 0.5424 GB, free: 64.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.7697, allocations: 3.824 MB / 0.5461 GB, free: 60.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007407/0.7704, allocations: 1.465 MB / 0.5475 GB, free: 58.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.7717, allocations: 1.128 MB / 0.5486 GB, free: 57.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.7717, allocations: 305.1 kB / 0.5489 GB, free: 57.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.7748, allocations: 2.838 MB / 0.5517 GB, free: 54.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.7785, allocations: 4.9 MB / 0.5565 GB, free: 48.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/0.7855, allocations: 8.259 MB / 0.5645 GB, free: 39.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/0.7855, allocations: 20 kB / 0.5646 GB, free: 39.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01123/0.7967, allocations: 9.076 MB / 0.5734 GB, free: 30.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.7968, allocations: 36 kB / 0.5735 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.642e-05/0.7969, allocations: 68.03 kB / 0.5735 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.7996, allocations: 1.151 MB / 0.5746 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/0.8035, allocations: 1.287 MB / 0.5759 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.8145, allocations: 10.39 MB / 0.586 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/0.8179, allocations: 0.7492 MB / 0.5868 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/0.8183, allocations: 276 kB / 0.587 GB, free: 16.38 MB / 446.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.003682/0.822, allocations: 3.427 MB / 0.5904 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004674/0.8225, allocations: 369.6 kB / 0.5907 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008973/0.8314, allocations: 6.866 MB / 0.5974 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006932/0.8384, allocations: 5.706 MB / 0.603 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.8384, allocations: 8 kB / 0.603 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.182e-05/0.8384, allocations: 23.92 kB / 0.603 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/0.862, allocations: 13.42 MB / 0.6162 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/0.862, allocations: 15.98 kB / 0.6162 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/0.8652, allocations: 0.7917 MB / 0.6169 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/0.8685, allocations: 1.056 MB / 0.618 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004561/0.8689, allocations: 108 kB / 0.6181 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.8849, allocations: 10.15 MB / 0.628 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.821e-05/0.8849, allocations: 27.81 kB / 0.628 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/0.9025, allocations: 10.67 MB / 0.6384 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/0.905, allocations: 0.9571 MB / 0.6394 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/0.9055, allocations: 95.98 kB / 0.6395 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/0.9077, allocations: 279.8 kB / 0.6397 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006939/0.9084, allocations: 359 kB / 0.6401 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000304/0.9087, allocations: 140 kB / 0.6402 GB, free: 9.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003206/0.9119, allocations: 2.085 MB / 0.6422 GB, free: 7.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9119, allocations: 0 / 0.6422 GB, free: 7.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00584/0.9178, allocations: 2.255 MB / 0.6444 GB, free: 4.969 MB / 494.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.0005948/0.9184, allocations: 278.3 kB / 0.6447 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01275/0.9311, allocations: 7.147 MB / 0.6517 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/0.9311, allocations: 4.25 kB / 0.6517 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00671/0.9378, allocations: 3.393 MB / 0.655 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/0.942, allocations: 0.7984 MB / 0.6558 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02851/0.9705, allocations: 16.32 MB / 0.6717 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007423/0.9779, allocations: 5.465 MB / 0.6771 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005432/0.9834, allocations: 2.153 MB / 0.6792 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009943/0.9843, allocations: 324.4 kB / 0.6795 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.9843, allocations: 0 / 0.6795 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of Templates: time 0.2651/1.249, allocations: 54.65 MB / 0.7328 GB, free: 138.6 MB / 0.5137 GB " [Timeout remaining time 659] 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 -s ida -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: 7.039393060025759]