Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001934/0.001934, allocations: 180 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007374/0.0007373, allocations: 97.05 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1986, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01115/0.2097, allocations: 14.23 MB / 388.8 MB, free: 34.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008023/0.2178, allocations: 4.264 MB / 393.1 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.2206, allocations: 107.7 kB / 393.2 MB, free: 30.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.2235, allocations: 0.8507 MB / 394 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.2285, allocations: 1.582 MB / 395.6 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.2316, allocations: 1.276 MB / 396.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.242, allocations: 12.12 MB / 409 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02793/0.27, allocations: 17.38 MB / 426.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005868/0.2759, allocations: 3.961 MB / 430.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006503/0.2824, allocations: 4.343 MB / 434.7 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.2843, allocations: 0.5625 MB / 435.2 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.2878, allocations: 0.8318 MB / 436.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002378/0.2902, allocations: 1.764 MB / 437.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.2932, allocations: 1.771 MB / 439.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.3079, allocations: 15.23 MB / 454.8 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3079, allocations: 3.984 kB / 454.8 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3079, allocations: 0 / 454.8 MB, free: 304 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004592/0.3084, allocations: 0 / 454.8 MB, free: 304 kB / 330.7 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.02676/0.3351, allocations: 10.37 MB / 465.2 MB, free: 5.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3352, allocations: 8.031 kB / 465.2 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03324/0.3684, allocations: 6.216 MB / 471.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.3804, allocations: 5.122 MB / 476.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007781/0.3812, allocations: 0.6704 MB / 477.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003785/0.385, allocations: 0.8827 MB / 478.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/0.4206, allocations: 14.67 MB / 492.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002057/0.4208, allocations: 7.906 kB / 492.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/0.4223, allocations: 372 kB / 493.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.4228, allocations: 0.503 MB / 493.7 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3614/0.7842, allocations: 13.48 MB / 0.4952 GB, free: 92.23 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/0.8456, allocations: 44.69 MB / 0.5389 GB, free: 59.36 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008634/0.8542, allocations: 11.68 MB / 0.5503 GB, free: 46.59 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/0.8577, allocations: 3.214 MB / 0.5534 GB, free: 43.38 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.858, allocations: 175.8 kB / 0.5536 GB, free: 43.2 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.858, allocations: 78.56 kB / 0.5537 GB, free: 43.11 MB / 378.8 MB Notification: Performance of pre-optimization done (n=421): time 6.342e-06/0.858, allocations: 0 / 0.5537 GB, free: 43.11 MB / 378.8 MB Notification: Performance of matching and sorting (n=421): time 0.0206/0.8786, allocations: 11 MB / 0.5644 GB, free: 32.06 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.8787, allocations: 125 kB / 0.5645 GB, free: 31.92 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.8823, allocations: 3.125 MB / 0.5676 GB, free: 28.78 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.8826, allocations: 93.7 kB / 0.5677 GB, free: 28.68 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.8839, allocations: 3.683 MB / 0.5713 GB, free: 24.97 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/0.8847, allocations: 1.43 MB / 0.5727 GB, free: 23.55 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.8849, allocations: 117.1 kB / 0.5728 GB, free: 23.44 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.8851, allocations: 0.5498 MB / 0.5733 GB, free: 22.88 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/0.8883, allocations: 2.888 MB / 0.5761 GB, free: 19.99 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003869/0.8922, allocations: 4.951 MB / 0.581 GB, free: 14.09 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.8963, allocations: 4.013 MB / 0.5849 GB, free: 10.06 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.417e-05/0.8964, allocations: 20 kB / 0.5849 GB, free: 10.04 MB / 378.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01173/0.9081, allocations: 9.177 MB / 0.5939 GB, free: 0.8125 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.9082, allocations: 39.95 kB / 0.5939 GB, free: 0.7734 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.501e-05/0.9082, allocations: 68.03 kB / 0.594 GB, free: 0.707 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/0.911, allocations: 1.132 MB / 0.5951 GB, free: 15.57 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/0.9155, allocations: 1.295 MB / 0.5963 GB, free: 14.27 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.9286, allocations: 9.923 MB / 0.606 GB, free: 4.082 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/0.9326, allocations: 0.7434 MB / 0.6068 GB, free: 3.332 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007391/0.9334, allocations: 272 kB / 0.607 GB, free: 3.066 MB / 394.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005371/0.9387, allocations: 3.427 MB / 0.6104 GB, free: 15.62 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/0.9394, allocations: 343.7 kB / 0.6107 GB, free: 15.28 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.9507, allocations: 7.034 MB / 0.6176 GB, free: 8.188 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008878/0.9596, allocations: 5.839 MB / 0.6233 GB, free: 2.301 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.261e-05/0.9596, allocations: 15.94 kB / 0.6233 GB, free: 2.285 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-05/0.9597, allocations: 19.92 kB / 0.6233 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/0.9838, allocations: 15.52 MB / 0.6385 GB, free: 2.59 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.9839, allocations: 12 kB / 0.6385 GB, free: 2.578 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/0.9869, allocations: 0.784 MB / 0.6392 GB, free: 1.793 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002878/0.9897, allocations: 1.036 MB / 0.6402 GB, free: 0.75 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003311/0.9901, allocations: 108 kB / 0.6404 GB, free: 0.6445 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/1.003, allocations: 9.657 MB / 0.6498 GB, free: 6.727 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/1.003, allocations: 23.88 kB / 0.6498 GB, free: 6.703 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1761/1.179, allocations: 10.87 MB / 0.6604 GB, free: 139.8 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.181, allocations: 1.01 MB / 0.6614 GB, free: 139.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/1.182, allocations: 105.9 kB / 0.6615 GB, free: 139.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.184, allocations: 273.7 kB / 0.6618 GB, free: 139.7 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.184, allocations: 341 kB / 0.6621 GB, free: 139.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/1.185, allocations: 144.6 kB / 0.6622 GB, free: 139.7 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002896/1.188, allocations: 2.097 MB / 0.6643 GB, free: 139 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.61e-07/1.188, allocations: 0 / 0.6643 GB, free: 139 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005389/1.193, allocations: 2.233 MB / 0.6665 GB, free: 138.5 MB / 442.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005847/1.194, allocations: 301.2 kB / 0.6667 GB, free: 138.3 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009675/1.203, allocations: 7.538 MB / 0.6741 GB, free: 135.5 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.203, allocations: 0 / 0.6741 GB, free: 135.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004878/1.208, allocations: 3.717 MB / 0.6777 GB, free: 134 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.212, allocations: 0.7758 MB / 0.6785 GB, free: 133.7 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/1.234, allocations: 18.95 MB / 0.697 GB, free: 121.3 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00493/1.239, allocations: 5.764 MB / 0.7026 GB, free: 116.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/1.24, allocations: 362.1 kB / 0.703 GB, free: 116.5 MB / 442.8 MB Notification: Performance of SimCode: time 7.92e-07/1.24, allocations: 0 / 0.703 GB, free: 116.5 MB / 442.8 MB Notification: Performance of Templates: time 0.3785/1.619, allocations: 194 MB / 0.8924 GB, free: 100 MB / 458.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches