Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009823/0.0009823, allocations: 191.8 kB / 17.37 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.6 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007868/0.0007868, allocations: 98.8 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002051/0.0002053, allocations: 8 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2167, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006188/0.223, allocations: 8.643 MB / 416.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.2284, allocations: 3.106 MB / 419.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.2299, allocations: 63.81 kB / 419.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.232, allocations: 0.5284 MB / 420.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.2362, allocations: 1.286 MB / 421.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.2383, allocations: 0.8513 MB / 422.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02024/0.2586, allocations: 15.54 MB / 438.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04265/0.3013, allocations: 18.73 MB / 456.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008818/0.3102, allocations: 3.711 MB / 460.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008379/0.3186, allocations: 4.562 MB / 465.1 MB, free: 2.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.3204, allocations: 0.582 MB / 465.7 MB, free: 1.883 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.324, allocations: 0.824 MB / 466.5 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.3269, allocations: 1.869 MB / 468.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008435/0.3354, allocations: 4.163 MB / 472.5 MB, free: 11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.3544, allocations: 15.84 MB / 488.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.3545, allocations: 4 kB / 488.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.409e-06/0.3545, allocations: 0 / 488.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006443/0.3551, allocations: 0 / 488.4 MB, free: 11.11 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03008/0.3852, allocations: 10.76 MB / 499.1 MB, free: 272 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.3853, allocations: 12.03 kB / 499.1 MB, free: 260 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04755/0.4329, allocations: 8.542 MB / 0.4958 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.4472, allocations: 5.945 MB / 0.5016 GB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/0.4482, allocations: 0.6624 MB / 0.5022 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00431/0.4526, allocations: 0.8632 MB / 0.5031 GB, free: 152 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3507/0.8033, allocations: 15.91 MB / 0.5186 GB, free: 71.07 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002743/0.8036, allocations: 6.781 kB / 0.5186 GB, free: 71.07 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/0.8055, allocations: 375.1 kB / 0.519 GB, free: 70.79 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004146/0.8059, allocations: 0.5606 MB / 0.5195 GB, free: 70.73 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02596/0.8319, allocations: 15.65 MB / 0.5348 GB, free: 57.79 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0693/0.9012, allocations: 49.27 MB / 0.5829 GB, free: 7.793 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/0.9194, allocations: 19.27 MB / 0.6017 GB, free: 2.406 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006004/0.9255, allocations: 3.57 MB / 0.6052 GB, free: 14.84 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/0.9262, allocations: 263.3 kB / 0.6055 GB, free: 14.56 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.9263, allocations: 82.56 kB / 0.6055 GB, free: 14.47 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 6.622e-06/0.9263, allocations: 0 / 0.6055 GB, free: 14.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.02411/0.9504, allocations: 11.55 MB / 0.6168 GB, free: 2.793 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.9505, allocations: 129.1 kB / 0.6169 GB, free: 2.648 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/0.9565, allocations: 3.823 MB / 0.6207 GB, free: 14.82 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/0.9576, allocations: 101.7 kB / 0.6208 GB, free: 14.71 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002616/0.9602, allocations: 3.886 MB / 0.6246 GB, free: 10.81 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002207/0.9624, allocations: 1.607 MB / 0.6261 GB, free: 9.215 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005607/0.963, allocations: 152 kB / 0.6263 GB, free: 9.066 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004813/0.9635, allocations: 0.6039 MB / 0.6269 GB, free: 8.457 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005892/0.9694, allocations: 3.656 MB / 0.6304 GB, free: 4.797 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008143/0.9775, allocations: 6.5 MB / 0.6368 GB, free: 13 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/0.9917, allocations: 10.78 MB / 0.6473 GB, free: 0.8867 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.9918, allocations: 24 kB / 0.6473 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02287/1.015, allocations: 11.89 MB / 0.6589 GB, free: 4.898 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/1.015, allocations: 44 kB / 0.659 GB, free: 4.855 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/1.015, allocations: 96 kB / 0.6591 GB, free: 4.762 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/1.02, allocations: 1.617 MB / 0.6607 GB, free: 3.125 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006317/1.026, allocations: 1.669 MB / 0.6623 GB, free: 1.453 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/1.044, allocations: 16.19 MB / 0.6781 GB, free: 464 kB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.206/1.25, allocations: 0.9512 MB / 0.679 GB, free: 149.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.252, allocations: 358.8 kB / 0.6794 GB, free: 149.9 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007214/1.259, allocations: 3.757 MB / 0.683 GB, free: 149.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.26, allocations: 391.1 kB / 0.6834 GB, free: 149.7 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/1.275, allocations: 8.543 MB / 0.6918 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/1.275, allocations: 46.44 kB / 0.6918 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.938e-05/1.275, allocations: 11.56 kB / 0.6918 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.673e-05/1.275, allocations: 26.78 kB / 0.6918 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/1.304, allocations: 16.88 MB / 0.7083 GB, free: 141 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/1.304, allocations: 7.219 kB / 0.7083 GB, free: 141 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003519/1.307, allocations: 0.8544 MB / 0.7092 GB, free: 140.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/1.312, allocations: 1.511 MB / 0.7106 GB, free: 140.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000816/1.313, allocations: 101.7 kB / 0.7107 GB, free: 140.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.327, allocations: 16 MB / 0.7264 GB, free: 127.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.327, allocations: 6.875 kB / 0.7264 GB, free: 127.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.344, allocations: 12.17 MB / 0.7383 GB, free: 116 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/1.347, allocations: 1.108 MB / 0.7393 GB, free: 114.8 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008592/1.348, allocations: 87.94 kB / 0.7394 GB, free: 114.8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.35, allocations: 307.8 kB / 0.7397 GB, free: 114.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000666/1.351, allocations: 322.9 kB / 0.74 GB, free: 114.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/1.351, allocations: 136.8 kB / 0.7402 GB, free: 114 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003546/1.355, allocations: 2.547 MB / 0.7426 GB, free: 111.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.01e-07/1.355, allocations: 0 / 0.7426 GB, free: 111.5 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007196/1.362, allocations: 2.379 MB / 0.745 GB, free: 109.1 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008673/1.363, allocations: 269.8 kB / 0.7452 GB, free: 108.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01376/1.377, allocations: 9.319 MB / 0.7543 GB, free: 99.43 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.377, allocations: 0 / 0.7543 GB, free: 99.43 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0067/1.383, allocations: 4.456 MB / 0.7587 GB, free: 94.9 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/1.389, allocations: 0.7182 MB / 0.7594 GB, free: 94.21 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/1.416, allocations: 19.92 MB / 0.7788 GB, free: 74.23 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00513/1.421, allocations: 5.931 MB / 0.7846 GB, free: 68.27 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/1.423, allocations: 427.3 kB / 0.785 GB, free: 67.85 MB / 474.8 MB Notification: Performance of SimCode: time 9.21e-07/1.423, allocations: 0 / 0.785 GB, free: 67.85 MB / 474.8 MB Notification: Performance of Templates: time 0.7413/2.165, allocations: 415.4 MB / 1.191 GB, free: 16.54 MB / 490.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches