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.001042/0.001042, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 60.73 kB / 306.3 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09785, allocations: 50.53 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008382/0.1063, allocations: 6.606 MB / 363.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.1116, allocations: 2.246 MB / 365.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.1137, allocations: 47.75 kB / 365.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.1153, allocations: 318.3 kB / 366 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.1186, allocations: 0.7739 MB / 366.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1197, allocations: 327 kB / 367.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004294/0.124, allocations: 3.562 MB / 370.7 MB, free: 352 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1748/0.2988, allocations: 1.657 MB / 372.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.3008, allocations: 1.11 MB / 373.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.3035, allocations: 1.563 MB / 375 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.3039, allocations: 194.8 kB / 375.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009593/0.3049, allocations: 328.9 kB / 375.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007985/0.3057, allocations: 0.7401 MB / 376.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.3074, allocations: 1.35 MB / 377.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.3122, allocations: 3.966 MB / 381.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3122, allocations: 4.531 kB / 381.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3122, allocations: 0 / 381.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.3123, allocations: 0 / 381.6 MB, free: 7.531 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.009665/0.322, allocations: 3.481 MB / 385 MB, free: 5.746 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3221, allocations: 9.656 kB / 385.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/0.3264, allocations: 0.7661 MB / 385.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.3297, allocations: 1.661 MB / 387.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.3298, allocations: 170.8 kB / 387.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/0.3302, allocations: 231.5 kB / 387.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005677/0.3359, allocations: 3.205 MB / 391.1 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.336, allocations: 0 / 391.1 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.3362, allocations: 100.5 kB / 391.2 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/0.3363, allocations: 72 kB / 391.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.3408, allocations: 2.863 MB / 394.1 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.3573, allocations: 9.241 MB / 403.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005231/0.3626, allocations: 4.37 MB / 407.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.364, allocations: 0.8165 MB / 408.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005341/0.3693, allocations: 3.159 MB / 411.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.3694, allocations: 46.73 kB / 411.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 3.206e-06/0.3694, allocations: 0 / 411.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01063/0.38, allocations: 4.195 MB / 415.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.3802, allocations: 122.1 kB / 416.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.3833, allocations: 1.617 MB / 417.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.3835, allocations: 45.7 kB / 417.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/0.3843, allocations: 1.117 MB / 418.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.3846, allocations: 360.6 kB / 419.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.385, allocations: 230.8 kB / 419.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3852, allocations: 357.9 kB / 419.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.3863, allocations: 0.6426 MB / 420.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3876, allocations: 1.014 MB / 421.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.3899, allocations: 1.688 MB / 423.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.39, allocations: 4 kB / 423.1 MB, free: 5.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003452/0.3934, allocations: 1.952 MB / 425.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.3935, allocations: 12 kB / 425.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.3935, allocations: 12 kB / 425.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.3939, allocations: 132.8 kB / 425.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.3952, allocations: 330.1 kB / 425.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.3981, allocations: 3.182 MB / 428.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3994, allocations: 99.61 kB / 428.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.3995, allocations: 60.06 kB / 428.9 MB, free: 15.77 MB / 350.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.001587/0.4011, allocations: 0.8358 MB / 429.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.4016, allocations: 150.1 kB / 429.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.4042, allocations: 1.397 MB / 431.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.4043, allocations: 11.98 kB / 431.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.4043, allocations: 4 kB / 431.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4043, allocations: 7.984 kB / 431.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/0.4092, allocations: 2.451 MB / 433.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.4092, allocations: 0 / 433.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.41, allocations: 183.7 kB / 433.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007026/0.4107, allocations: 259.4 kB / 434.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.4108, allocations: 35.97 kB / 434.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005476/0.4163, allocations: 5.788 MB / 440 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4164, allocations: 0 / 440 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/0.4209, allocations: 2.553 MB / 442.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007464/0.4217, allocations: 247.2 kB / 442.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/0.4222, allocations: 31.98 kB / 442.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.4234, allocations: 91.91 kB / 442.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.4237, allocations: 96.22 kB / 443 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.4238, allocations: 35.98 kB / 443 MB, free: 1.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00219/0.426, allocations: 1.132 MB / 444.2 MB, free: 20 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.426, allocations: 0 / 444.2 MB, free: 20 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002147/0.4282, allocations: 450.8 kB / 444.6 MB, free: 15.58 MB / 366.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.0003868/0.4286, allocations: 151.5 kB / 444.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003116/0.4317, allocations: 1.717 MB / 446.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4317, allocations: 0 / 446.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.4338, allocations: 1.165 MB / 447.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.4366, allocations: 273.9 kB / 447.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.4472, allocations: 5.697 MB / 453.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/0.45, allocations: 2.101 MB / 455.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001788/0.4518, allocations: 459.5 kB / 456.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.4524, allocations: 95.42 kB / 456.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4524, allocations: 0 / 456.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of Templates: time 0.03494/0.4874, allocations: 18.71 MB / 475 MB, free: 1.387 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