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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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=10000,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=10000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 75.86 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.09602, allocations: 53.31 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.1781/0.2741, allocations: 6.681 MB / 434.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.2773, allocations: 2.275 MB / 436.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.2778, allocations: 47.09 kB / 436.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.2784, allocations: 385.3 kB / 437.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.2801, allocations: 0.8535 MB / 438.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.2808, allocations: 360.1 kB / 438.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.284, allocations: 3.196 MB / 441.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2856, allocations: 1.497 MB / 443.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.2874, allocations: 1.313 MB / 444.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.2894, allocations: 1.654 MB / 446.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004698/0.2899, allocations: 295.4 kB / 446.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009869/0.2909, allocations: 431.4 kB / 446.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007108/0.2916, allocations: 0.8615 MB / 447.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.2931, allocations: 1.472 MB / 449.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.2975, allocations: 4.12 MB / 453.3 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2975, allocations: 0 / 453.3 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2975, allocations: 4 kB / 453.3 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.154e-05/0.2976, allocations: 0 / 453.3 MB, free: 360 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.008701/0.3063, allocations: 3.554 MB / 456.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3063, allocations: 9.594 kB / 456.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.3107, allocations: 0.7542 MB / 457.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.3139, allocations: 1.736 MB / 459.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3141, allocations: 174.9 kB / 459.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.3145, allocations: 226.5 kB / 459.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005844/0.3203, allocations: 3.227 MB / 462.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.3204, allocations: 0 / 462.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.3206, allocations: 97.84 kB / 463 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.305e-05/0.3207, allocations: 76.62 kB / 463.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/0.3257, allocations: 2.889 MB / 466 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/0.3419, allocations: 9.348 MB / 475.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005634/0.3475, allocations: 4.325 MB / 479.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.3488, allocations: 0.7576 MB / 480.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004896/0.3537, allocations: 3.158 MB / 483.6 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.3538, allocations: 43.77 kB / 483.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.525e-06/0.3538, allocations: 0 / 483.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008739/0.3625, allocations: 4.282 MB / 487.9 MB, free: 3.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.3626, allocations: 123.2 kB / 488 MB, free: 3.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.365, allocations: 1.621 MB / 489.6 MB, free: 1.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.3651, allocations: 45.7 kB / 489.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009284/0.366, allocations: 1.149 MB / 490.8 MB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.3663, allocations: 373 kB / 491.2 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.3667, allocations: 238.8 kB / 491.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3669, allocations: 361.9 kB / 491.8 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3681, allocations: 0.6349 MB / 492.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.3695, allocations: 1.011 MB / 493.4 MB, free: 13.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.3721, allocations: 1.701 MB / 495.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3721, allocations: 3.938 kB / 495.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003613/0.3758, allocations: 1.949 MB / 497.1 MB, free: 9.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3758, allocations: 14.03 kB / 497.1 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.3758, allocations: 12 kB / 497.1 MB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.3762, allocations: 126.7 kB / 497.2 MB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.3775, allocations: 336.7 kB / 497.6 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.3809, allocations: 3.433 MB / 0.4893 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.3821, allocations: 99.73 kB / 0.4893 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.3822, allocations: 55.98 kB / 0.4894 GB, free: 5.402 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.001503/0.3837, allocations: 0.8293 MB / 0.4902 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.3841, allocations: 163 kB / 0.4904 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.3869, allocations: 1.385 MB / 0.4917 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3869, allocations: 11.94 kB / 0.4917 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3869, allocations: 4 kB / 0.4917 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.3869, allocations: 12.25 kB / 0.4917 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.3911, allocations: 2.462 MB / 0.4942 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3911, allocations: 0 / 0.4942 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/0.392, allocations: 191.8 kB / 0.4943 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.3927, allocations: 254.3 kB / 0.4946 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/0.3928, allocations: 31.98 kB / 0.4946 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006791/0.3996, allocations: 6.262 MB / 0.5007 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3996, allocations: 0 / 0.5007 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/0.4041, allocations: 2.551 MB / 0.5032 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.4046, allocations: 267.9 kB / 0.5035 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.4048, allocations: 27.98 kB / 0.5035 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/0.4057, allocations: 91.91 kB / 0.5036 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.406, allocations: 96.09 kB / 0.5037 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.4061, allocations: 36.09 kB / 0.5037 GB, free: 6.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001764/0.4078, allocations: 1.135 MB / 0.5048 GB, free: 5.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4078, allocations: 0 / 0.5048 GB, free: 5.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00166/0.4095, allocations: 444 kB / 0.5052 GB, free: 4.602 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.0003289/0.4098, allocations: 167.9 kB / 0.5054 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.4129, allocations: 1.673 MB / 0.507 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4129, allocations: 0 / 0.507 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.415, allocations: 1.15 MB / 0.5082 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.4166, allocations: 281.1 kB / 0.5084 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00808/0.4247, allocations: 4.693 MB / 0.513 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/0.4266, allocations: 2.05 MB / 0.515 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/0.4271, allocations: 115.4 kB / 0.5151 GB, free: 10.32 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4271, allocations: 0 / 0.5151 GB, free: 10.32 MB / 430.1 MB Notification: Performance of Templates: time 0.07364/0.5008, allocations: 57.8 MB / 0.5716 GB, free: 0.5547 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.447357209865004]