Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008563/0.0008563, allocations: 51.02 kB / 302.1 MB, free: 5.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07315/0.07402, allocations: 49.44 MB / 351.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01466/0.08871, allocations: 16.59 MB / 368.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1218/0.2105, allocations: 4.62 MB / 372.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.2129, allocations: 137.1 kB / 372.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.2249, allocations: 7.171 MB / 380 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.2296, allocations: 1.98 MB / 382 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.2322, allocations: 1.524 MB / 383.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007216/0.2394, allocations: 9.409 MB / 392.9 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02026/0.2597, allocations: 20.85 MB / 413.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005851/0.2656, allocations: 5.239 MB / 419 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.2714, allocations: 5.87 MB / 424.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.2728, allocations: 1.359 MB / 426.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.2751, allocations: 1.642 MB / 427.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.2771, allocations: 2.795 MB / 430.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004686/0.2818, allocations: 5.358 MB / 436.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.2946, allocations: 18.35 MB / 454.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2947, allocations: 4 kB / 454.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2947, allocations: 0 / 454.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.2949, allocations: 0 / 454.4 MB, free: 12.12 MB / 366.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.02356/0.3184, allocations: 12.12 MB / 466.5 MB, free: 4 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3185, allocations: 8.078 kB / 466.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02967/0.3482, allocations: 6.24 MB / 472.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009112/0.3573, allocations: 5.813 MB / 478.6 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/0.3577, allocations: 0.6789 MB / 479.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.3589, allocations: 0.8712 MB / 480.1 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.3786, allocations: 14.71 MB / 494.9 MB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.3787, allocations: 7.906 kB / 494.9 MB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007921/0.3795, allocations: 372 kB / 495.2 MB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/0.3799, allocations: 0.4915 MB / 495.7 MB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.3979, allocations: 13.52 MB / 0.4973 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2779/0.6759, allocations: 44.07 MB / 0.5403 GB, free: 118 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008695/0.6846, allocations: 11.64 MB / 0.5517 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/0.6877, allocations: 3.162 MB / 0.5548 GB, free: 111.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.688, allocations: 176.2 kB / 0.555 GB, free: 111.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.688, allocations: 82.11 kB / 0.555 GB, free: 111.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.29e-06/0.688, allocations: 1.375 kB / 0.555 GB, free: 111.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01493/0.703, allocations: 9.57 MB / 0.5644 GB, free: 110.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.703, allocations: 120.3 kB / 0.5645 GB, free: 110.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.7059, allocations: 3.161 MB / 0.5676 GB, free: 109.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.7061, allocations: 88.92 kB / 0.5677 GB, free: 109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.7071, allocations: 3.695 MB / 0.5713 GB, free: 106.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/0.7077, allocations: 1.395 MB / 0.5727 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.7088, allocations: 1.129 MB / 0.5738 GB, free: 104.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.849e-05/0.7088, allocations: 304.9 kB / 0.574 GB, free: 104.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/0.7115, allocations: 2.836 MB / 0.5768 GB, free: 103.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/0.7148, allocations: 4.9 MB / 0.5816 GB, free: 99.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006166/0.721, allocations: 8.263 MB / 0.5897 GB, free: 94.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/0.721, allocations: 19 kB / 0.5897 GB, free: 94.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.009816/0.7308, allocations: 9.101 MB / 0.5986 GB, free: 89.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.7309, allocations: 35.31 kB / 0.5986 GB, free: 89.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.212e-05/0.7309, allocations: 64.81 kB / 0.5987 GB, free: 89.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/0.7334, allocations: 1.156 MB / 0.5998 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.7367, allocations: 1.287 MB / 0.6011 GB, free: 87.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009832/0.7465, allocations: 10.8 MB / 0.6116 GB, free: 76.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.7491, allocations: 0.7318 MB / 0.6123 GB, free: 75.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/0.7495, allocations: 276 kB / 0.6126 GB, free: 75.31 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.003301/0.7528, allocations: 3.424 MB / 0.6159 GB, free: 71.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.7532, allocations: 355.6 kB / 0.6163 GB, free: 71.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008026/0.7612, allocations: 6.908 MB / 0.623 GB, free: 64.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006164/0.7674, allocations: 5.733 MB / 0.6286 GB, free: 58.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.7674, allocations: 12 kB / 0.6286 GB, free: 58.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.7674, allocations: 27.91 kB / 0.6286 GB, free: 58.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.7836, allocations: 15.22 MB / 0.6435 GB, free: 43.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.7836, allocations: 16 kB / 0.6435 GB, free: 43.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/0.7859, allocations: 0.7917 MB / 0.6443 GB, free: 42.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.7882, allocations: 1.059 MB / 0.6453 GB, free: 41.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.7884, allocations: 112 kB / 0.6454 GB, free: 41.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009694/0.7981, allocations: 10.57 MB / 0.6558 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.7981, allocations: 19.88 kB / 0.6558 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.8082, allocations: 10.68 MB / 0.6662 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.8099, allocations: 0.9913 MB / 0.6672 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/0.8103, allocations: 104 kB / 0.6673 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.812, allocations: 268.6 kB / 0.6675 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/0.8124, allocations: 339.2 kB / 0.6679 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/0.8126, allocations: 144 kB / 0.668 GB, free: 17.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.8145, allocations: 2.129 MB / 0.6701 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8145, allocations: 0 / 0.6701 GB, free: 15.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003933/0.8185, allocations: 2.224 MB / 0.6722 GB, free: 13.46 MB / 446.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.0003946/0.8189, allocations: 304.6 kB / 0.6725 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007412/0.8263, allocations: 7.448 MB / 0.6798 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8263, allocations: 4 kB / 0.6798 GB, free: 5.699 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003889/0.8302, allocations: 3.656 MB / 0.6834 GB, free: 2.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.8329, allocations: 0.8089 MB / 0.6842 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.8519, allocations: 15.95 MB / 0.6997 GB, free: 1.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1286/0.9805, allocations: 5.928 MB / 0.7055 GB, free: 133.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004918/0.9854, allocations: 2.155 MB / 0.7076 GB, free: 133.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.9865, allocations: 320.3 kB / 0.7079 GB, free: 133.8 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.9865, allocations: 0 / 0.7079 GB, free: 133.8 MB / 462.1 MB Notification: Performance of Templates: time 1.342/2.328, allocations: 56.35 MB / 0.763 GB, free: 103.4 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches