Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2072, allocations: 50.54 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01603/0.2233, allocations: 16.61 MB / 426.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008203/0.2315, allocations: 4.696 MB / 431.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.2336, allocations: 131.6 kB / 431.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01461/0.2482, allocations: 7.183 MB / 438.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.2533, allocations: 1.974 MB / 440.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.2566, allocations: 1.54 MB / 442.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009225/0.2658, allocations: 9.496 MB / 451.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02494/0.2908, allocations: 20.85 MB / 472.4 MB, free: 2.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005517/0.2963, allocations: 5.253 MB / 477.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006713/0.303, allocations: 5.907 MB / 483.6 MB, free: 7.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001688/0.3047, allocations: 1.363 MB / 485 MB, free: 6.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.3074, allocations: 1.66 MB / 486.6 MB, free: 4.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00224/0.3097, allocations: 2.798 MB / 489.4 MB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004946/0.3146, allocations: 5.354 MB / 494.8 MB, free: 12.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.3287, allocations: 18.36 MB / 0.5011 GB, free: 9.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3287, allocations: 0 / 0.5011 GB, free: 9.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3287, allocations: 0 / 0.5011 GB, free: 9.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002141/0.3289, allocations: 4 kB / 0.5011 GB, free: 9.98 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.02768/0.3566, allocations: 12.13 MB / 0.5129 GB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3567, allocations: 8.031 kB / 0.513 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0358/0.3925, allocations: 6.268 MB / 0.5191 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.4027, allocations: 5.823 MB / 0.5248 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004372/0.4031, allocations: 0.6782 MB / 0.5254 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/0.4046, allocations: 0.8672 MB / 0.5263 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/0.4277, allocations: 14.71 MB / 0.5406 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/0.4279, allocations: 11.91 kB / 0.5406 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000989/0.4289, allocations: 372 kB / 0.541 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004278/0.4293, allocations: 0.4914 MB / 0.5415 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3348/0.7641, allocations: 13.53 MB / 0.5547 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.8096, allocations: 44.55 MB / 0.5982 GB, free: 68.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0088/0.8184, allocations: 11.64 MB / 0.6096 GB, free: 55.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.8217, allocations: 3.17 MB / 0.6127 GB, free: 52.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.8219, allocations: 265.2 kB / 0.6129 GB, free: 52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.822, allocations: 74.56 kB / 0.613 GB, free: 51.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.091e-06/0.822, allocations: 0 / 0.613 GB, free: 51.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01715/0.8392, allocations: 9.571 MB / 0.6223 GB, free: 42.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8392, allocations: 121.1 kB / 0.6224 GB, free: 42.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/0.8422, allocations: 3.16 MB / 0.6255 GB, free: 39.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.8424, allocations: 97.7 kB / 0.6256 GB, free: 38.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.8436, allocations: 3.683 MB / 0.6292 GB, free: 35.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006668/0.8443, allocations: 1.399 MB / 0.6306 GB, free: 33.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/0.8456, allocations: 1.12 MB / 0.6317 GB, free: 32.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 2.931e-05/0.8456, allocations: 301.1 kB / 0.632 GB, free: 32.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/0.8487, allocations: 2.841 MB / 0.6347 GB, free: 29.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/0.8525, allocations: 4.9 MB / 0.6395 GB, free: 23.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00718/0.8597, allocations: 8.255 MB / 0.6476 GB, free: 14.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-05/0.8597, allocations: 20 kB / 0.6476 GB, free: 14.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01133/0.8711, allocations: 9.111 MB / 0.6565 GB, free: 5.355 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.8711, allocations: 36.03 kB / 0.6565 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-05/0.8712, allocations: 68 kB / 0.6566 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/0.874, allocations: 1.138 MB / 0.6577 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.878, allocations: 1.295 MB / 0.659 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.8919, allocations: 10.81 MB / 0.6695 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/0.8953, allocations: 0.7318 MB / 0.6703 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004001/0.8957, allocations: 276 kB / 0.6705 GB, free: 6.73 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.004573/0.9003, allocations: 3.427 MB / 0.6739 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/0.9009, allocations: 347.7 kB / 0.6742 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.9124, allocations: 6.909 MB / 0.6809 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/0.9125, allocations: 19.92 kB / 0.681 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.9125, allocations: 4 kB / 0.681 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/0.9143, allocations: 0.9368 MB / 0.6819 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004797/0.9148, allocations: 76 kB / 0.682 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/0.9168, allocations: 259.7 kB / 0.6822 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000555/0.9174, allocations: 303.5 kB / 0.6825 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01136/0.9287, allocations: 6.598 MB / 0.6889 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01073/0.9395, allocations: 8.131 MB / 0.6969 GB, free: 11.69 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003089/0.9426, allocations: 2.506 MB / 0.6993 GB, free: 9.18 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.002758/0.9453, allocations: 2.125 MB / 0.7014 GB, free: 7.051 MB / 0.4982 GB Notification: Performance of Backend: time 4.41e-07/0.9454, allocations: 4 kB / 0.7014 GB, free: 7.047 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008976/0.9543, allocations: 5.404 MB / 0.7067 GB, free: 1.633 MB / 0.4982 GB Notification: Performance of SimCode: time 0.0217/0.9761, allocations: 14.5 MB / 0.7208 GB, free: 3.059 MB / 0.5138 GB Notification: Performance of Templates: time 0.2706/1.247, allocations: 71.23 MB / 0.7904 GB, free: 145.3 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches