Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001305/0.001305, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001418/0.001418, allocations: 214.9 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 51.91 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2153, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01731/0.2326, allocations: 14.32 MB / 446.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008859/0.2414, allocations: 4.545 MB / 451.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.2431, allocations: 155.2 kB / 451.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01567/0.2588, allocations: 6.692 MB / 458.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.2647, allocations: 2.017 MB / 460.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.2681, allocations: 1.521 MB / 461.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.2785, allocations: 9.61 MB / 471.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01906/0.2976, allocations: 13.59 MB / 484.8 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.3044, allocations: 5.386 MB / 490.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008638/0.313, allocations: 5.981 MB / 496.2 MB, free: 6.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.3156, allocations: 1.359 MB / 497.5 MB, free: 5.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.3202, allocations: 1.664 MB / 499.2 MB, free: 3.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003199/0.3234, allocations: 2.798 MB / 0.4902 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005357/0.3288, allocations: 4.191 MB / 0.4943 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.3474, allocations: 18.49 MB / 0.5124 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3474, allocations: 4 kB / 0.5124 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3474, allocations: 0 / 0.5124 GB, free: 10.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003114/0.3477, allocations: 0 / 0.5124 GB, free: 10.03 MB / 430.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.03135/0.3791, allocations: 12.26 MB / 0.5243 GB, free: 13.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3791, allocations: 8.031 kB / 0.5243 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03605/0.4152, allocations: 6.199 MB / 0.5304 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01443/0.4296, allocations: 5.925 MB / 0.5362 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005777/0.4302, allocations: 0.6704 MB / 0.5368 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3366/0.7668, allocations: 0.8683 MB / 0.5377 GB, free: 89.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/0.7911, allocations: 14.98 MB / 0.5523 GB, free: 84.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/0.7913, allocations: 9.781 kB / 0.5523 GB, free: 84.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008721/0.7922, allocations: 377.1 kB / 0.5527 GB, free: 83.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003187/0.7925, allocations: 0.489 MB / 0.5532 GB, free: 83.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.8095, allocations: 13.51 MB / 0.5664 GB, free: 71.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0459/0.8554, allocations: 38.54 MB / 0.604 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008089/0.8635, allocations: 5.972 MB / 0.6098 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.8666, allocations: 2.865 MB / 0.6126 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.8669, allocations: 111.9 kB / 0.6127 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.867, allocations: 82.5 kB / 0.6128 GB, free: 24.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.213e-06/0.867, allocations: 0 / 0.6128 GB, free: 24.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01722/0.8842, allocations: 9.431 MB / 0.622 GB, free: 15.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.8842, allocations: 121.1 kB / 0.6221 GB, free: 14.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.8875, allocations: 3.23 MB / 0.6253 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.8877, allocations: 93.7 kB / 0.6254 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.889, allocations: 3.83 MB / 0.6291 GB, free: 8.207 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007406/0.8898, allocations: 1.459 MB / 0.6305 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.8911, allocations: 1.144 MB / 0.6317 GB, free: 5.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.21e-05/0.8911, allocations: 305.1 kB / 0.632 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/0.8943, allocations: 2.845 MB / 0.6347 GB, free: 2.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005011/0.8993, allocations: 4.909 MB / 0.6395 GB, free: 12.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.9103, allocations: 8.275 MB / 0.6476 GB, free: 3.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.507e-05/0.9103, allocations: 20 kB / 0.6476 GB, free: 3.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01571/0.926, allocations: 9.105 MB / 0.6565 GB, free: 10.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.9261, allocations: 39.92 kB / 0.6566 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.924e-05/0.9262, allocations: 68 kB / 0.6566 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/0.9296, allocations: 1.146 MB / 0.6577 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004769/0.9344, allocations: 1.295 MB / 0.659 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.95, allocations: 10.4 MB / 0.6692 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/0.9538, allocations: 0.7336 MB / 0.6699 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005223/0.9543, allocations: 288 kB / 0.6702 GB, free: 12.08 MB / 494.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.005121/0.9595, allocations: 3.419 MB / 0.6735 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000722/0.9602, allocations: 361.7 kB / 0.6738 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.9726, allocations: 6.878 MB / 0.6806 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01001/0.9826, allocations: 5.721 MB / 0.6861 GB, free: 11.65 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.899e-05/0.9826, allocations: 19.94 kB / 0.6862 GB, free: 11.63 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/0.9827, allocations: 19.92 kB / 0.6862 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.025/1.008, allocations: 13.45 MB / 0.6993 GB, free: 14 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/1.008, allocations: 16.03 kB / 0.6993 GB, free: 13.99 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/1.011, allocations: 0.7957 MB / 0.7001 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/1.014, allocations: 1.056 MB / 0.7011 GB, free: 12.13 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/1.015, allocations: 116 kB / 0.7013 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/1.03, allocations: 10.14 MB / 0.7112 GB, free: 1.668 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.662e-05/1.03, allocations: 23.88 kB / 0.7112 GB, free: 1.645 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/1.047, allocations: 10.7 MB / 0.7216 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/1.05, allocations: 0.9532 MB / 0.7226 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/1.051, allocations: 95.98 kB / 0.7226 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.053, allocations: 271.6 kB / 0.7229 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007118/1.053, allocations: 359.1 kB / 0.7233 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003161/1.054, allocations: 151.9 kB / 0.7234 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003069/1.057, allocations: 2.093 MB / 0.7254 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.057, allocations: 0 / 0.7254 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005591/1.062, allocations: 2.258 MB / 0.7276 GB, free: 0.5234 MB / 0.5294 GB 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.0005842/1.063, allocations: 290.2 kB / 0.7279 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.075, allocations: 7.173 MB / 0.7349 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.075, allocations: 5 kB / 0.7349 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005917/1.081, allocations: 3.42 MB / 0.7383 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/1.084, allocations: 0.7765 MB / 0.739 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2056/1.29, allocations: 16.23 MB / 0.7549 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004905/1.295, allocations: 5.465 MB / 0.7602 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004274/1.299, allocations: 2.154 MB / 0.7623 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009177/1.3, allocations: 339.7 kB / 0.7626 GB, free: 178.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/1.3, allocations: 0 / 0.7626 GB, free: 178.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08812/1.388, allocations: 66.87 MB / 0.8279 GB, free: 120 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.40064488700591]