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.001374/0.001374, allocations: 110.2 kB / 18.4 MB, free: 4.699 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.001382/0.001382, allocations: 190.3 kB / 19.33 MB, free: 3.781 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.396/1.396, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001449/0.001449, allocations: 59.91 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.231/0.3338, allocations: 16.54 MB / 392.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3442, allocations: 4.656 MB / 397 MB, free: 320 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003943/0.3482, allocations: 115.8 kB / 397.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01808/0.3663, allocations: 7.163 MB / 404.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009255/0.3756, allocations: 1.865 MB / 406.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005639/0.3812, allocations: 1.616 MB / 407.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01653/0.3978, allocations: 9.4 MB / 417.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03991/0.4378, allocations: 20.84 MB / 438 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009966/0.4478, allocations: 5.257 MB / 443.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.4584, allocations: 5.856 MB / 449.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004177/0.4626, allocations: 1.359 MB / 450.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007574/0.4702, allocations: 1.648 MB / 452.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005879/0.4761, allocations: 2.794 MB / 454.9 MB, free: 404 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01211/0.4883, allocations: 5.358 MB / 460.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02602/0.5144, allocations: 18.19 MB / 478.5 MB, free: 8.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5144, allocations: 0 / 478.5 MB, free: 8.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5144, allocations: 0 / 478.5 MB, free: 8.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006418/0.5151, allocations: 0 / 478.5 MB, free: 8.777 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.04015/0.5552, allocations: 12.13 MB / 490.6 MB, free: 12.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5553, allocations: 12.03 kB / 490.6 MB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03623/0.5915, allocations: 6.237 MB / 496.9 MB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.6042, allocations: 5.168 MB / 0.4903 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008082/0.6051, allocations: 0.6704 MB / 0.4909 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004211/0.6093, allocations: 0.8827 MB / 0.4918 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04289/0.6522, allocations: 14.7 MB / 0.5061 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005172/0.6528, allocations: 15.89 kB / 0.5062 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003679/0.6565, allocations: 372 kB / 0.5065 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006477/0.6572, allocations: 491.3 kB / 0.507 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03093/0.6881, allocations: 13.53 MB / 0.5202 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.498/1.186, allocations: 44.05 MB / 0.5632 GB, free: 120.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/1.198, allocations: 11.65 MB / 0.5746 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004759/1.203, allocations: 3.163 MB / 0.5777 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/1.203, allocations: 171.6 kB / 0.5778 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/1.203, allocations: 83.09 kB / 0.5779 GB, free: 113.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 5.821e-06/1.203, allocations: 1.594 kB / 0.5779 GB, free: 113.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01948/1.223, allocations: 9.591 MB / 0.5873 GB, free: 112.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/1.223, allocations: 126.2 kB / 0.5874 GB, free: 112.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/1.227, allocations: 3.157 MB / 0.5905 GB, free: 111.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004427/1.227, allocations: 89.08 kB / 0.5906 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.229, allocations: 3.691 MB / 0.5942 GB, free: 108.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009901/1.23, allocations: 1.393 MB / 0.5955 GB, free: 107.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/1.231, allocations: 1.131 MB / 0.5966 GB, free: 106.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.556e-05/1.231, allocations: 309.1 kB / 0.5969 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.235, allocations: 2.834 MB / 0.5997 GB, free: 105.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004074/1.239, allocations: 4.899 MB / 0.6045 GB, free: 101.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/1.247, allocations: 8.257 MB / 0.6126 GB, free: 96.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.093e-05/1.247, allocations: 19.88 kB / 0.6126 GB, free: 96.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01332/1.26, allocations: 9.103 MB / 0.6215 GB, free: 91.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.566e-05/1.26, allocations: 35.06 kB / 0.6215 GB, free: 91.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/1.26, allocations: 69.66 kB / 0.6216 GB, free: 91.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/1.263, allocations: 1.15 MB / 0.6227 GB, free: 90.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/1.268, allocations: 1.287 MB / 0.6239 GB, free: 89.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.28, allocations: 10.81 MB / 0.6345 GB, free: 78.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004877/1.285, allocations: 0.7355 MB / 0.6352 GB, free: 77.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.286, allocations: 280 kB / 0.6355 GB, free: 77.3 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.005753/1.292, allocations: 3.435 MB / 0.6388 GB, free: 73.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/1.293, allocations: 347.7 kB / 0.6392 GB, free: 73.51 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009743/1.303, allocations: 6.905 MB / 0.6459 GB, free: 66.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007179/1.31, allocations: 5.741 MB / 0.6515 GB, free: 60.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/1.31, allocations: 19.88 kB / 0.6515 GB, free: 60.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-05/1.31, allocations: 23.91 kB / 0.6516 GB, free: 60.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02156/1.332, allocations: 15.22 MB / 0.6664 GB, free: 45.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.332, allocations: 12.94 kB / 0.6664 GB, free: 45.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.334, allocations: 0.7917 MB / 0.6672 GB, free: 44.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002804/1.337, allocations: 1.06 MB / 0.6682 GB, free: 43.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003513/1.338, allocations: 108 kB / 0.6683 GB, free: 43.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/1.349, allocations: 10.56 MB / 0.6787 GB, free: 32.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.349, allocations: 23.94 kB / 0.6787 GB, free: 32.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.362, allocations: 10.69 MB / 0.6891 GB, free: 21.67 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.364, allocations: 0.9875 MB / 0.6901 GB, free: 20.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00053/1.365, allocations: 95.98 kB / 0.6902 GB, free: 20.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.367, allocations: 271.7 kB / 0.6904 GB, free: 20.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/1.368, allocations: 347.2 kB / 0.6908 GB, free: 19.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/1.368, allocations: 140 kB / 0.6909 GB, free: 19.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002533/1.37, allocations: 2.121 MB / 0.693 GB, free: 17.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.37, allocations: 0 / 0.693 GB, free: 17.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005926/1.376, allocations: 2.23 MB / 0.6951 GB, free: 15.46 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.0007033/1.377, allocations: 302.5 kB / 0.6954 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.387, allocations: 7.446 MB / 0.7027 GB, free: 7.711 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/1.387, allocations: 0 / 0.7027 GB, free: 7.711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006495/1.394, allocations: 3.659 MB / 0.7063 GB, free: 4.039 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006962/1.401, allocations: 0.7955 MB / 0.7071 GB, free: 3.262 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04342/1.444, allocations: 15.7 MB / 0.7224 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/1.457, allocations: 5.76 MB / 0.728 GB, free: 13.56 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.46, allocations: 367.4 kB / 0.7284 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.302e-06/1.46, allocations: 4 kB / 0.7284 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.4885/1.948, allocations: 194.8 MB / 0.9186 GB, free: 0.7188 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/jenkins1/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/jenkins1/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