Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 251.1 MB, free: 8.426 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 72.02 kB / 369 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.257, allocations: 53.32 MB / 422.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01953/0.2765, allocations: 16.68 MB / 439 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.287, allocations: 4.719 MB / 443.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.2907, allocations: 131.6 kB / 443.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01773/0.3084, allocations: 7.218 MB / 451 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007786/0.3162, allocations: 1.974 MB / 453 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.3207, allocations: 1.55 MB / 454.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01369/0.3344, allocations: 9.528 MB / 464.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02735/0.3618, allocations: 16.25 MB / 480.3 MB, free: 13.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008592/0.3704, allocations: 5.268 MB / 485.6 MB, free: 8.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/0.3809, allocations: 5.977 MB / 491.6 MB, free: 2.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004006/0.3849, allocations: 1.359 MB / 492.9 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.3903, allocations: 1.66 MB / 494.6 MB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004351/0.3947, allocations: 2.805 MB / 497.4 MB, free: 12.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008141/0.4028, allocations: 5.358 MB / 0.491 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02121/0.424, allocations: 18.4 MB / 0.5089 GB, free: 4.578 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.424, allocations: 0 / 0.5089 GB, free: 4.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.424, allocations: 0 / 0.5089 GB, free: 4.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003909/0.4244, allocations: 4 kB / 0.509 GB, free: 4.574 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.03474/0.4592, allocations: 12.33 MB / 0.521 GB, free: 8.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4592, allocations: 8.031 kB / 0.521 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0364/0.4956, allocations: 6.202 MB / 0.5271 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.5084, allocations: 5.84 MB / 0.5328 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007195/0.5091, allocations: 0.6703 MB / 0.5334 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003109/0.5122, allocations: 0.8866 MB / 0.5343 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4509/0.9632, allocations: 14.74 MB / 0.5487 GB, free: 98.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004068/0.9636, allocations: 11.16 kB / 0.5487 GB, free: 98.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00253/0.9661, allocations: 374 kB / 0.549 GB, free: 97.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004278/0.9665, allocations: 0.4911 MB / 0.5495 GB, free: 97.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02746/0.994, allocations: 13.56 MB / 0.5628 GB, free: 92.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06938/1.063, allocations: 44.7 MB / 0.6064 GB, free: 53.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.074, allocations: 11.26 MB / 0.6174 GB, free: 41.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004411/1.078, allocations: 2.866 MB / 0.6202 GB, free: 38.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005179/1.079, allocations: 292.3 kB / 0.6205 GB, free: 38.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.222e-05/1.079, allocations: 79.66 kB / 0.6206 GB, free: 38.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.643e-06/1.079, allocations: 0 / 0.6206 GB, free: 38.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01977/1.099, allocations: 9.588 MB / 0.6299 GB, free: 28.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.099, allocations: 117.1 kB / 0.63 GB, free: 28.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/1.104, allocations: 3.16 MB / 0.6331 GB, free: 25.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007318/1.105, allocations: 93.7 kB / 0.6332 GB, free: 25.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.106, allocations: 3.838 MB / 0.637 GB, free: 21.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.108, allocations: 1.461 MB / 0.6384 GB, free: 20.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/1.11, allocations: 1.144 MB / 0.6395 GB, free: 19.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/1.11, allocations: 309.1 kB / 0.6398 GB, free: 18.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003741/1.114, allocations: 2.838 MB / 0.6426 GB, free: 15.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/1.118, allocations: 4.908 MB / 0.6474 GB, free: 10.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/1.127, allocations: 8.278 MB / 0.6554 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.712e-05/1.127, allocations: 16 kB / 0.6555 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01864/1.145, allocations: 9.117 MB / 0.6644 GB, free: 7.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.146, allocations: 39.94 kB / 0.6644 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/1.146, allocations: 64 kB / 0.6645 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/1.149, allocations: 1.142 MB / 0.6656 GB, free: 6.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/1.155, allocations: 1.303 MB / 0.6668 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/1.172, allocations: 10.82 MB / 0.6774 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004871/1.177, allocations: 0.7494 MB / 0.6781 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.178, allocations: 284 kB / 0.6784 GB, free: 9.039 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.007248/1.185, allocations: 3.427 MB / 0.6818 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.187, allocations: 361.7 kB / 0.6821 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.201, allocations: 6.87 MB / 0.6888 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0109/1.212, allocations: 5.729 MB / 0.6944 GB, free: 8.602 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/1.212, allocations: 11.94 kB / 0.6944 GB, free: 8.59 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.098e-05/1.212, allocations: 27.91 kB / 0.6945 GB, free: 8.562 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03169/1.244, allocations: 15.23 MB / 0.7093 GB, free: 9.141 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/1.244, allocations: 12 kB / 0.7093 GB, free: 9.129 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003276/1.247, allocations: 0.8034 MB / 0.7101 GB, free: 8.324 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/1.251, allocations: 1.063 MB / 0.7112 GB, free: 7.254 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004863/1.251, allocations: 116 kB / 0.7113 GB, free: 7.141 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.268, allocations: 10.58 MB / 0.7216 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-05/1.268, allocations: 20.19 kB / 0.7216 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.288, allocations: 10.69 MB / 0.7321 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.29, allocations: 1.009 MB / 0.733 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009193/1.291, allocations: 99.98 kB / 0.7331 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.293, allocations: 271.8 kB / 0.7334 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000895/1.294, allocations: 347.2 kB / 0.7337 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004223/1.295, allocations: 151.9 kB / 0.7339 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004256/1.299, allocations: 2.121 MB / 0.7359 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.299, allocations: 4 kB / 0.7359 GB, free: 13.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006792/1.306, allocations: 2.255 MB / 0.7381 GB, free: 11.06 MB / 0.545 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.000776/1.307, allocations: 286.3 kB / 0.7384 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.319, allocations: 7.17 MB / 0.7454 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.319, allocations: 0.9375 kB / 0.7454 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006341/1.326, allocations: 3.415 MB / 0.7488 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2271/1.553, allocations: 0.7936 MB / 0.7495 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.579, allocations: 16.25 MB / 0.7654 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005483/1.584, allocations: 5.93 MB / 0.7712 GB, free: 175.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004581/1.589, allocations: 2.153 MB / 0.7733 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/1.59, allocations: 352.1 kB / 0.7736 GB, free: 175.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/1.59, allocations: 0 / 0.7736 GB, free: 175.2 MB / 0.545 GB Notification: Performance of Templates: time 0.09808/1.688, allocations: 60.51 MB / 0.8327 GB, free: 121.3 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches