Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001576, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001959/0.001959, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2309, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007202/0.2381, allocations: 6.636 MB / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.2422, allocations: 2.262 MB / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000921/0.2432, allocations: 47.81 kB / 418.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009849/0.2442, allocations: 361.5 kB / 419.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.2464, allocations: 0.8277 MB / 420.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.2473, allocations: 362.1 kB / 420.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003487/0.2508, allocations: 3.191 MB / 423.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.2531, allocations: 2.007 MB / 425.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.2546, allocations: 1.297 MB / 426.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.2568, allocations: 1.623 MB / 428.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006418/0.2574, allocations: 292 kB / 428.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.2586, allocations: 435.8 kB / 429.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008375/0.2594, allocations: 0.849 MB / 430.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.261, allocations: 1.466 MB / 431.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.2645, allocations: 4.106 MB / 435.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2645, allocations: 0 / 435.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2645, allocations: 0 / 435.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.635e-05/0.2646, allocations: 0 / 435.7 MB, free: 7.746 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007661/0.2723, allocations: 3.478 MB / 439.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2723, allocations: 12.03 kB / 439.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.2766, allocations: 0.7586 MB / 439.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.2794, allocations: 1.723 MB / 441.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.2796, allocations: 172.9 kB / 441.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.2799, allocations: 232.1 kB / 442 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/0.2849, allocations: 3.195 MB / 445.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.285, allocations: 0 / 445.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.2852, allocations: 104 kB / 445.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/0.2853, allocations: 70 kB / 445.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.2898, allocations: 2.862 MB / 448.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.3031, allocations: 9.141 MB / 457.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004581/0.3077, allocations: 4.38 MB / 461.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3089, allocations: 0.8066 MB / 462.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00409/0.313, allocations: 3.142 MB / 465.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3131, allocations: 46.83 kB / 465.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.767e-06/0.3131, allocations: 7.984 kB / 465.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008241/0.3214, allocations: 4.213 MB / 470 MB, free: 3.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.3214, allocations: 119.2 kB / 470.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.3237, allocations: 1.614 MB / 471.7 MB, free: 2.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3238, allocations: 49.7 kB / 471.8 MB, free: 2.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/0.3245, allocations: 1.11 MB / 472.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.3248, allocations: 354.9 kB / 473.2 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.3251, allocations: 250.7 kB / 473.5 MB, free: 332 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3253, allocations: 353.9 kB / 473.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3263, allocations: 0.6349 MB / 474.5 MB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.3276, allocations: 1.015 MB / 475.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.3299, allocations: 1.69 MB / 477.2 MB, free: 12.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.33, allocations: 4 kB / 477.2 MB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003243/0.3332, allocations: 1.945 MB / 479.1 MB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.3333, allocations: 12 kB / 479.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.3333, allocations: 15.94 kB / 479.1 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.3337, allocations: 121.6 kB / 479.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.3349, allocations: 335.5 kB / 479.6 MB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.3377, allocations: 3.426 MB / 483 MB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.3388, allocations: 95.91 kB / 483.1 MB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3389, allocations: 59.98 kB / 483.2 MB, free: 6.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001258/0.3402, allocations: 0.8254 MB / 484 MB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.3405, allocations: 166 kB / 484.1 MB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.3431, allocations: 1.393 MB / 485.5 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3431, allocations: 16 kB / 485.6 MB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.3431, allocations: 7.938 kB / 485.6 MB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3432, allocations: 3.984 kB / 485.6 MB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.3471, allocations: 2.438 MB / 488 MB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.3471, allocations: 4.094 kB / 488 MB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/0.3479, allocations: 187.7 kB / 488.2 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006481/0.3486, allocations: 262.2 kB / 488.4 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.3487, allocations: 31.98 kB / 488.5 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.3543, allocations: 6.25 MB / 494.7 MB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3544, allocations: 0 / 494.7 MB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.3582, allocations: 2.557 MB / 497.3 MB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.3587, allocations: 251.2 kB / 497.5 MB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.359, allocations: 31.92 kB / 497.6 MB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/0.3599, allocations: 95.91 kB / 497.7 MB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.3601, allocations: 96.09 kB / 497.8 MB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.3602, allocations: 27.98 kB / 497.8 MB, free: 6.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001599/0.3618, allocations: 1.135 MB / 498.9 MB, free: 5.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3619, allocations: 4 kB / 498.9 MB, free: 5.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001514/0.3634, allocations: 448 kB / 499.4 MB, free: 5.219 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003112/0.3637, allocations: 159.6 kB / 499.5 MB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002804/0.3665, allocations: 1.711 MB / 0.4895 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3665, allocations: 0 / 0.4895 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.3683, allocations: 1.184 MB / 0.4906 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.3699, allocations: 277.4 kB / 0.4909 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/0.3773, allocations: 4.626 MB / 0.4954 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.3791, allocations: 2.042 MB / 0.4974 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.3795, allocations: 115.4 kB / 0.4975 GB, free: 10.95 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3795, allocations: 0 / 0.4975 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Templates: time 0.2397/0.6193, allocations: 57.37 MB / 0.5535 GB, free: 122.4 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches