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.001137/0.001137, allocations: 100.3 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 205.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.2 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002003/0.0002003, allocations: 4 kB / 306.6 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08173, allocations: 51.5 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005296/0.08706, allocations: 5.339 MB / 363.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.09052, allocations: 2.092 MB / 365.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.0909, allocations: 35.81 kB / 365.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.09146, allocations: 298.4 kB / 365.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.09288, allocations: 0.6893 MB / 366.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.09343, allocations: 247.3 kB / 366.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.09566, allocations: 2.012 MB / 368.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.09719, allocations: 1.493 MB / 370.3 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.09812, allocations: 0.9146 MB / 371.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1604/0.2586, allocations: 1.154 MB / 372.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.2592, allocations: 137.4 kB / 372.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009557/0.2602, allocations: 254.3 kB / 372.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007063/0.2609, allocations: 0.6162 MB / 373.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006744/0.2616, allocations: 0.5023 MB / 373.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.2656, allocations: 3.216 MB / 377 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2656, allocations: 0 / 377 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2656, allocations: 0 / 377 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.2658, allocations: 5.75 kB / 377 MB, free: 9.805 MB / 302.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.008096/0.2739, allocations: 3.049 MB / 380.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2739, allocations: 9 kB / 380.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/0.2782, allocations: 0.7854 MB / 380.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.2813, allocations: 1.564 MB / 382.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.2814, allocations: 174.5 kB / 382.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003602/0.2818, allocations: 230.8 kB / 382.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005129/0.2869, allocations: 3.179 MB / 386 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.287, allocations: 0 / 386 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.2872, allocations: 93.66 kB / 386.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.2873, allocations: 72.39 kB / 386.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/0.2917, allocations: 2.883 MB / 389.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.306, allocations: 9.3 MB / 398.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.3106, allocations: 4.394 MB / 402.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004793/0.3154, allocations: 3.153 MB / 405.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3155, allocations: 50.75 kB / 406 MB, free: 9.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.755e-06/0.3155, allocations: 0 / 406 MB, free: 9.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.007756/0.3233, allocations: 4.244 MB / 410.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3234, allocations: 114.5 kB / 410.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.3255, allocations: 1.581 MB / 411.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.3256, allocations: 45.7 kB / 412 MB, free: 3.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.3264, allocations: 1.098 MB / 413 MB, free: 2.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.3266, allocations: 363.7 kB / 413.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.3267, allocations: 28 kB / 413.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3268, allocations: 353.9 kB / 413.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3278, allocations: 0.6505 MB / 414.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.3291, allocations: 1.016 MB / 415.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.3303, allocations: 0.8076 MB / 416.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3304, allocations: 7.75 kB / 416.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00322/0.3336, allocations: 1.976 MB / 418.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3336, allocations: 15.98 kB / 418.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.3337, allocations: 12 kB / 418.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.334, allocations: 121.6 kB / 418.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.3353, allocations: 345.2 kB / 418.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.3379, allocations: 3.223 MB / 421.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3391, allocations: 103.5 kB / 422 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.3392, allocations: 59.98 kB / 422.1 MB, free: 9.152 MB / 334.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 (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 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00154/0.3408, allocations: 0.8197 MB / 422.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.341, allocations: 154.2 kB / 423.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.3435, allocations: 1.426 MB / 424.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3435, allocations: 12 kB / 424.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3435, allocations: 4 kB / 424.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.3435, allocations: 7.922 kB / 424.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.3474, allocations: 2.453 MB / 427 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3474, allocations: 0 / 427 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.3482, allocations: 190.5 kB / 427.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00063/0.3489, allocations: 263 kB / 427.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.632e-05/0.3489, allocations: 36.72 kB / 427.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.3542, allocations: 5.864 MB / 433.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3543, allocations: 0 / 433.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/0.3582, allocations: 2.669 MB / 436 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/0.3588, allocations: 251.2 kB / 436.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.359, allocations: 27.98 kB / 436.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/0.3599, allocations: 111.9 kB / 436.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.3601, allocations: 90.27 kB / 436.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.3602, allocations: 35.98 kB / 436.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001642/0.3618, allocations: 1.097 MB / 437.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3618, allocations: 0 / 437.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001708/0.3635, allocations: 448 kB / 438 MB, free: 8.754 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/0.3639, allocations: 160.6 kB / 438.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.3668, allocations: 1.742 MB / 439.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3668, allocations: 0 / 439.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.3686, allocations: 1.189 MB / 441.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.3699, allocations: 257.1 kB / 441.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.3781, allocations: 5.532 MB / 446.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.3798, allocations: 2.14 MB / 449 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001263/0.381, allocations: 462.8 kB / 449.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.3813, allocations: 91.42 kB / 449.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3813, allocations: 0 / 449.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.03018/0.4115, allocations: 17.99 MB / 467.6 MB, free: 11.37 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches