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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001035/0.001035, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.0009618/0.0009618, allocations: 188.2 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1249, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.3119/0.4369, allocations: 16.53 MB / 391.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.4509, allocations: 4.658 MB / 396.3 MB, free: 308 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006511/0.4575, allocations: 115.1 kB / 396.5 MB, free: 284 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01902/0.4766, allocations: 7.167 MB / 403.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.487, allocations: 1.864 MB / 405.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005754/0.4928, allocations: 1.619 MB / 407.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01555/0.5083, allocations: 9.4 MB / 416.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03277/0.5412, allocations: 20.84 MB / 437.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009789/0.551, allocations: 5.253 MB / 442.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.563, allocations: 5.86 MB / 448.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005049/0.5681, allocations: 1.359 MB / 449.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008297/0.5765, allocations: 1.648 MB / 451.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005402/0.5819, allocations: 2.786 MB / 454.3 MB, free: 376 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01376/0.5957, allocations: 5.362 MB / 459.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0275/0.6232, allocations: 18.19 MB / 477.8 MB, free: 8.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.6233, allocations: 0 / 477.8 MB, free: 8.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6233, allocations: 0 / 477.8 MB, free: 8.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007595/0.624, allocations: 0 / 477.8 MB, free: 8.746 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.04363/0.6677, allocations: 12.13 MB / 489.9 MB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6678, allocations: 8.031 kB / 489.9 MB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03695/0.7047, allocations: 6.245 MB / 496.2 MB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.718, allocations: 5.164 MB / 0.4896 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008739/0.7189, allocations: 0.6743 MB / 0.4903 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004835/0.7238, allocations: 0.8826 MB / 0.4911 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04527/0.7691, allocations: 14.71 MB / 0.5055 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003808/0.7695, allocations: 7.906 kB / 0.5055 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002954/0.7725, allocations: 372 kB / 0.5058 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006366/0.7731, allocations: 495.3 kB / 0.5063 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0338/0.807, allocations: 13.53 MB / 0.5195 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5998/1.407, allocations: 44.06 MB / 0.5626 GB, free: 120.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/1.42, allocations: 11.64 MB / 0.5739 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005847/1.426, allocations: 3.164 MB / 0.577 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/1.427, allocations: 181.1 kB / 0.5772 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/1.427, allocations: 80.94 kB / 0.5773 GB, free: 113.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.462e-06/1.427, allocations: 0 / 0.5773 GB, free: 113.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02174/1.448, allocations: 9.588 MB / 0.5866 GB, free: 112.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/1.449, allocations: 120.7 kB / 0.5867 GB, free: 112.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/1.453, allocations: 3.158 MB / 0.5898 GB, free: 111.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005568/1.453, allocations: 92.52 kB / 0.5899 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.455, allocations: 3.699 MB / 0.5935 GB, free: 108.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.457, allocations: 1.387 MB / 0.5949 GB, free: 107.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/1.458, allocations: 1.128 MB / 0.596 GB, free: 106.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/1.458, allocations: 309.1 kB / 0.5963 GB, free: 106.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/1.462, allocations: 2.835 MB / 0.599 GB, free: 105.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/1.466, allocations: 4.902 MB / 0.6038 GB, free: 101.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008352/1.474, allocations: 8.259 MB / 0.6119 GB, free: 96.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.33e-05/1.474, allocations: 21.66 kB / 0.6119 GB, free: 96.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01352/1.488, allocations: 9.104 MB / 0.6208 GB, free: 91.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/1.488, allocations: 31.84 kB / 0.6208 GB, free: 91.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.488, allocations: 69.41 kB / 0.6209 GB, free: 91.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/1.491, allocations: 1.149 MB / 0.622 GB, free: 90.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/1.495, allocations: 1.291 MB / 0.6233 GB, free: 89.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.507, allocations: 10.81 MB / 0.6338 GB, free: 78.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/1.513, allocations: 0.7356 MB / 0.6346 GB, free: 77.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009163/1.514, allocations: 276 kB / 0.6348 GB, free: 77.27 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.006516/1.52, allocations: 3.431 MB / 0.6382 GB, free: 73.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000855/1.521, allocations: 347.7 kB / 0.6385 GB, free: 73.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009987/1.531, allocations: 6.905 MB / 0.6452 GB, free: 66.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007462/1.539, allocations: 5.737 MB / 0.6509 GB, free: 60.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-05/1.539, allocations: 12.88 kB / 0.6509 GB, free: 60.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/1.539, allocations: 19.92 kB / 0.6509 GB, free: 60.76 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/1.566, allocations: 15.23 MB / 0.6658 GB, free: 45.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.566, allocations: 12.94 kB / 0.6658 GB, free: 45.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002678/1.569, allocations: 0.7918 MB / 0.6665 GB, free: 44.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/1.572, allocations: 1.056 MB / 0.6676 GB, free: 43.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/1.572, allocations: 115.8 kB / 0.6677 GB, free: 43.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/1.584, allocations: 10.57 MB / 0.678 GB, free: 32.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/1.584, allocations: 19.94 kB / 0.678 GB, free: 32.56 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/1.597, allocations: 10.69 MB / 0.6885 GB, free: 21.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.599, allocations: 0.9875 MB / 0.6894 GB, free: 20.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004649/1.599, allocations: 99.98 kB / 0.6895 GB, free: 20.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/1.601, allocations: 267.7 kB / 0.6898 GB, free: 20.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006629/1.602, allocations: 343.2 kB / 0.6901 GB, free: 19.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.602, allocations: 144 kB / 0.6902 GB, free: 19.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002595/1.605, allocations: 2.125 MB / 0.6923 GB, free: 17.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.605, allocations: 0 / 0.6923 GB, free: 17.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006142/1.611, allocations: 2.223 MB / 0.6945 GB, free: 15.43 MB / 478.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.000609/1.612, allocations: 298.5 kB / 0.6948 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009939/1.622, allocations: 7.453 MB / 0.702 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/1.622, allocations: 4 kB / 0.7021 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004921/1.627, allocations: 3.651 MB / 0.7056 GB, free: 4.004 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/1.632, allocations: 0.7996 MB / 0.7064 GB, free: 3.211 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/1.662, allocations: 15.95 MB / 0.722 GB, free: 3.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006556/1.669, allocations: 5.93 MB / 0.7278 GB, free: 13.09 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005514/1.675, allocations: 2.158 MB / 0.7299 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.676, allocations: 315.4 kB / 0.7302 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of SimCode: time 8.11e-07/1.676, allocations: 1.094 kB / 0.7302 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of Templates: time 0.3669/2.042, allocations: 58.56 MB / 0.7874 GB, free: 136.1 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches