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.0007543/0.0007544, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008245/0.0008245, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001905/0.0001905, allocations: 4 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.0837, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005459/0.08919, allocations: 5.747 MB / 364.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.09205, allocations: 2.099 MB / 366.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.09239, allocations: 39.88 kB / 366.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.09289, allocations: 262.3 kB / 366.8 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.09423, allocations: 0.7194 MB / 367.5 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.09475, allocations: 259.5 kB / 367.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002944/0.0977, allocations: 3.265 MB / 371 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1565/0.2543, allocations: 1.477 MB / 372.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.2559, allocations: 0.9807 MB / 373.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.2576, allocations: 1.341 MB / 374.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.2579, allocations: 137.3 kB / 374.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.2586, allocations: 263.1 kB / 375.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007304/0.2594, allocations: 0.6524 MB / 375.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.2599, allocations: 0.5062 MB / 376.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.2635, allocations: 3.249 MB / 379.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2635, allocations: 0 / 379.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2635, allocations: 0.7812 kB / 379.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001036/0.2636, allocations: 0 / 379.6 MB, free: 9.023 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.00711/0.2708, allocations: 3.065 MB / 382.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2708, allocations: 12.55 kB / 382.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.2749, allocations: 0.7815 MB / 383.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.2776, allocations: 1.62 MB / 385.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2778, allocations: 170.3 kB / 385.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.2781, allocations: 229.7 kB / 385.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.2834, allocations: 3.205 MB / 388.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.2834, allocations: 0 / 388.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.2837, allocations: 92.72 kB / 388.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-05/0.2837, allocations: 72.53 kB / 388.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.2882, allocations: 2.88 MB / 391.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.3002, allocations: 9.313 MB / 401 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/0.3044, allocations: 4.394 MB / 405.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.3055, allocations: 0.8264 MB / 406.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003851/0.3094, allocations: 3.153 MB / 409.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.3094, allocations: 50.22 kB / 409.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.695e-06/0.3094, allocations: 0 / 409.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.007262/0.3167, allocations: 4.299 MB / 413.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3168, allocations: 111.2 kB / 413.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.3188, allocations: 1.606 MB / 415.5 MB, free: 192 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.3189, allocations: 41.7 kB / 415.5 MB, free: 144 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007092/0.3196, allocations: 1.115 MB / 416.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.3198, allocations: 358.9 kB / 417 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.3199, allocations: 24 kB / 417 MB, free: 14.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3201, allocations: 361.9 kB / 417.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/0.3211, allocations: 0.6505 MB / 418 MB, free: 13.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.3223, allocations: 1.019 MB / 419 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3235, allocations: 0.8189 MB / 419.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3235, allocations: 4 kB / 419.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003067/0.3266, allocations: 1.966 MB / 421.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.3266, allocations: 15.98 kB / 421.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3266, allocations: 14.19 kB / 421.8 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.327, allocations: 125.6 kB / 422 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.3282, allocations: 343.5 kB / 422.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.3308, allocations: 3.187 MB / 425.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.3319, allocations: 103.6 kB / 425.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.332, allocations: 56 kB / 425.6 MB, free: 5.633 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.001396/0.3335, allocations: 0.8312 MB / 426.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.3337, allocations: 158.1 kB / 426.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.3361, allocations: 1.421 MB / 428.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3361, allocations: 8 kB / 428.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3362, allocations: 8.25 kB / 428.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.3362, allocations: 3.984 kB / 428.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.3397, allocations: 2.469 MB / 430.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3397, allocations: 0 / 430.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.3406, allocations: 195.8 kB / 430.7 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006046/0.3412, allocations: 258.2 kB / 431 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.3413, allocations: 31.98 kB / 431 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005158/0.3464, allocations: 5.768 MB / 436.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3465, allocations: 4.031 kB / 436.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.3504, allocations: 2.601 MB / 439.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.351, allocations: 255.1 kB / 439.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.3512, allocations: 35.95 kB / 439.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008382/0.352, allocations: 107.9 kB / 439.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.3522, allocations: 88.3 kB / 439.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.3523, allocations: 31.98 kB / 439.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.354, allocations: 1.124 MB / 441 MB, free: 5.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.354, allocations: 3.938 kB / 441 MB, free: 5.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001525/0.3556, allocations: 446.6 kB / 441.5 MB, free: 5.273 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.0003062/0.3559, allocations: 165.8 kB / 441.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.3586, allocations: 1.732 MB / 443.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3586, allocations: 3.938 kB / 443.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.3604, allocations: 1.19 MB / 444.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.3618, allocations: 276.8 kB / 444.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.3693, allocations: 5.578 MB / 450.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.3709, allocations: 2.101 MB / 452.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001219/0.3722, allocations: 457.1 kB / 452.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.3725, allocations: 103.4 kB / 453 MB, free: 9.543 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3725, allocations: 0 / 453 MB, free: 9.543 MB / 366.1 MB Notification: Performance of Templates: time 0.03008/0.4026, allocations: 18.05 MB / 471.1 MB, free: 7.699 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","/var/lib/jenkins/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