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.0007683/0.0007682, allocations: 96.89 kB / 17.3 MB, free: 6.391 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.0007603/0.0007604, allocations: 178.5 kB / 18.21 MB, free: 5.543 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.394/1.394, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0004671/0.0004673, allocations: 12.38 kB / 281.4 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 47.58 MB / 329 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01566/0.1243, allocations: 15.38 MB / 344.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1361, allocations: 4.585 MB / 348.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004117/0.1402, allocations: 103.7 kB / 349 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005317/0.1456, allocations: 1.163 MB / 350.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009634/0.1553, allocations: 1.688 MB / 351.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005221/0.1605, allocations: 1.512 MB / 353.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01474/0.1753, allocations: 9.485 MB / 362.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.282/0.4574, allocations: 20.99 MB / 383.9 MB, free: 16.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/0.4706, allocations: 3.754 MB / 387.6 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01138/0.482, allocations: 4.54 MB / 392.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004311/0.4864, allocations: 0.5645 MB / 392.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006665/0.4931, allocations: 0.8494 MB / 393.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004867/0.498, allocations: 1.797 MB / 395.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01132/0.5093, allocations: 4.264 MB / 399.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.5274, allocations: 17.1 MB / 416.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5275, allocations: 0 / 416.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.25e-06/0.5275, allocations: 0 / 416.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008029/0.5283, allocations: 0 / 416.8 MB, free: 5.93 MB / 318.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.03446/0.5628, allocations: 10.28 MB / 427 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.5629, allocations: 12.03 kB / 427 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03601/0.5989, allocations: 6.211 MB / 433.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.6128, allocations: 5.175 MB / 438.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009163/0.6138, allocations: 0.6752 MB / 439.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00522/0.619, allocations: 0.8889 MB / 440 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04644/0.6655, allocations: 14.74 MB / 454.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000582/0.6661, allocations: 11.89 kB / 454.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004783/0.6709, allocations: 373.5 kB / 455.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006654/0.6716, allocations: 495.3 kB / 455.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03669/0.7083, allocations: 13.56 MB / 469.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/0.8097, allocations: 44.73 MB / 0.5018 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/0.8255, allocations: 11.69 MB / 0.5133 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/0.8317, allocations: 3.225 MB / 0.5164 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006562/0.8324, allocations: 178.6 kB / 0.5166 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.32e-05/0.8325, allocations: 78.56 kB / 0.5167 GB, free: 8.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=421): time 6.302e-06/0.8325, allocations: 0 / 0.5167 GB, free: 8.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=421): time 0.02513/0.8576, allocations: 9.757 MB / 0.5262 GB, free: 14.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.8578, allocations: 124.7 kB / 0.5263 GB, free: 14.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006133/0.8639, allocations: 3.16 MB / 0.5294 GB, free: 10.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009662/0.8649, allocations: 93.7 kB / 0.5295 GB, free: 10.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003355/0.8683, allocations: 3.679 MB / 0.5331 GB, free: 7.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002562/0.8708, allocations: 1.431 MB / 0.5345 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007478/0.8716, allocations: 474.8 kB / 0.5349 GB, free: 5.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8717, allocations: 301.1 kB / 0.5352 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00456/0.8763, allocations: 2.908 MB / 0.538 GB, free: 2.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2741/1.15, allocations: 4.973 MB / 0.5429 GB, free: 142.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1.163, allocations: 8.415 MB / 0.5511 GB, free: 139.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/1.164, allocations: 21.34 kB / 0.5511 GB, free: 139.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02013/1.184, allocations: 9.233 MB / 0.5602 GB, free: 136.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/1.184, allocations: 40.39 kB / 0.5602 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.184, allocations: 63.25 kB / 0.5603 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/1.188, allocations: 1.123 MB / 0.5614 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005437/1.193, allocations: 1.29 MB / 0.5626 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.207, allocations: 9.927 MB / 0.5723 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.212, allocations: 0.7401 MB / 0.573 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.214, allocations: 279 kB / 0.5733 GB, free: 130 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.007926/1.221, allocations: 3.428 MB / 0.5766 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009254/1.222, allocations: 346.8 kB / 0.577 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.233, allocations: 7.046 MB / 0.5839 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00798/1.241, allocations: 5.871 MB / 0.5896 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/1.242, allocations: 12 kB / 0.5896 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-05/1.242, allocations: 22.97 kB / 0.5896 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/1.269, allocations: 15.56 MB / 0.6048 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-05/1.269, allocations: 12 kB / 0.6048 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/1.272, allocations: 0.784 MB / 0.6056 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/1.275, allocations: 1.036 MB / 0.6066 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005937/1.276, allocations: 116 kB / 0.6067 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/1.287, allocations: 9.682 MB / 0.6162 GB, free: 96.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.619e-06/1.287, allocations: 19.94 kB / 0.6162 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.302, allocations: 10.93 MB / 0.6269 GB, free: 85.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/1.304, allocations: 1.007 MB / 0.6278 GB, free: 84.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006949/1.305, allocations: 92 kB / 0.6279 GB, free: 84.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.307, allocations: 283.7 kB / 0.6282 GB, free: 83.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/1.308, allocations: 343.2 kB / 0.6285 GB, free: 83.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/1.308, allocations: 140 kB / 0.6287 GB, free: 83.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003322/1.312, allocations: 2.125 MB / 0.6307 GB, free: 81.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.312, allocations: 0 / 0.6307 GB, free: 81.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007269/1.319, allocations: 2.236 MB / 0.6329 GB, free: 78.91 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.0009606/1.32, allocations: 299.8 kB / 0.6332 GB, free: 78.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01242/1.332, allocations: 7.577 MB / 0.6406 GB, free: 71.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.406e-05/1.332, allocations: 8.062 kB / 0.6406 GB, free: 71.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006129/1.339, allocations: 3.724 MB / 0.6442 GB, free: 67.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/1.349, allocations: 0.7749 MB / 0.645 GB, free: 66.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03745/1.387, allocations: 20.03 MB / 0.6646 GB, free: 46.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01162/1.398, allocations: 5.934 MB / 0.6704 GB, free: 40.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008015/1.406, allocations: 2.154 MB / 0.6725 GB, free: 38.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/1.409, allocations: 319.4 kB / 0.6728 GB, free: 37.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.004e-06/1.409, allocations: 0 / 0.6728 GB, free: 37.84 MB / 446.1 MB Notification: Performance of Templates: time 0.3497/1.758, allocations: 58.47 MB / 0.7299 GB, free: 126.5 MB / 446.1 MB 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","../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