Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 14.9 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09692, allocations: 53.32 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.1914/0.2884, allocations: 6.671 MB / 434.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.2924, allocations: 2.261 MB / 436.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.2935, allocations: 52.97 kB / 436.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.2945, allocations: 381.6 kB / 436.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2967, allocations: 0.8602 MB / 437.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.2976, allocations: 355.6 kB / 438.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003701/0.3013, allocations: 3.19 MB / 441.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.3031, allocations: 1.497 MB / 442.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.3053, allocations: 1.327 MB / 444.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.3083, allocations: 1.651 MB / 445.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008784/0.3092, allocations: 294.3 kB / 446 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3108, allocations: 431.5 kB / 446.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008825/0.3116, allocations: 0.8571 MB / 447.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002286/0.3139, allocations: 1.463 MB / 448.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.3197, allocations: 4.127 MB / 452.9 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3197, allocations: 0 / 452.9 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3197, allocations: 1.812 kB / 452.9 MB, free: 72 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001521/0.3198, allocations: 0 / 452.9 MB, free: 72 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01058/0.3304, allocations: 3.553 MB / 456.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3305, allocations: 8.844 kB / 456.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004801/0.3353, allocations: 0.7507 MB / 457.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.3391, allocations: 1.739 MB / 458.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.3393, allocations: 169.6 kB / 459.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006862/0.34, allocations: 230.3 kB / 459.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/0.3467, allocations: 3.203 MB / 462.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.672e-05/0.3468, allocations: 7.922 kB / 462.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.3471, allocations: 96.84 kB / 462.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.816e-05/0.3471, allocations: 66.47 kB / 462.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005321/0.3525, allocations: 2.868 MB / 465.6 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.3694, allocations: 9.173 MB / 474.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005533/0.3749, allocations: 4.323 MB / 479.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.3762, allocations: 0.7596 MB / 479.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004994/0.3812, allocations: 3.163 MB / 483 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3813, allocations: 42.89 kB / 483 MB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.505e-06/0.3813, allocations: 0 / 483 MB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.00894/0.3902, allocations: 4.288 MB / 487.3 MB, free: 3.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.3903, allocations: 115.2 kB / 487.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.3928, allocations: 1.622 MB / 489 MB, free: 1.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.393, allocations: 45.7 kB / 489.1 MB, free: 1.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009256/0.3939, allocations: 1.141 MB / 490.2 MB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/0.3943, allocations: 369 kB / 490.6 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.3947, allocations: 238.8 kB / 490.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3949, allocations: 361.9 kB / 491.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.396, allocations: 0.6388 MB / 491.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.3974, allocations: 1.011 MB / 492.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/0.4, allocations: 1.703 MB / 494.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.4001, allocations: 4 kB / 494.5 MB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003683/0.4037, allocations: 1.944 MB / 496.5 MB, free: 9.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.4038, allocations: 8 kB / 496.5 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.4038, allocations: 19.88 kB / 496.5 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.4042, allocations: 126.9 kB / 496.6 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4055, allocations: 335.5 kB / 497 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.4088, allocations: 3.43 MB / 0.4887 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4101, allocations: 103.7 kB / 0.4888 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4103, allocations: 55.98 kB / 0.4888 GB, free: 5.352 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.001498/0.4118, allocations: 0.8289 MB / 0.4896 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.4122, allocations: 166.9 kB / 0.4898 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.4149, allocations: 1.38 MB / 0.4911 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4149, allocations: 8 kB / 0.4911 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4149, allocations: 11.88 kB / 0.4911 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4149, allocations: 11.98 kB / 0.4912 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/0.4191, allocations: 2.439 MB / 0.4935 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4191, allocations: 3.984 kB / 0.4935 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/0.42, allocations: 187.8 kB / 0.4937 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007316/0.4207, allocations: 267.7 kB / 0.494 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.4208, allocations: 35.97 kB / 0.494 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006502/0.4273, allocations: 6.24 MB / 0.5001 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4273, allocations: 8.375 kB / 0.5001 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.4317, allocations: 2.569 MB / 0.5026 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006069/0.4323, allocations: 252 kB / 0.5029 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.4325, allocations: 40.05 kB / 0.5029 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009218/0.4335, allocations: 95.91 kB / 0.503 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.4337, allocations: 96.09 kB / 0.5031 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.4338, allocations: 38.75 kB / 0.5031 GB, free: 6.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.4355, allocations: 1.128 MB / 0.5042 GB, free: 4.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4355, allocations: 0 / 0.5042 GB, free: 4.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001623/0.4371, allocations: 452 kB / 0.5047 GB, free: 4.551 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.0003124/0.4374, allocations: 156 kB / 0.5048 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.4404, allocations: 1.674 MB / 0.5064 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4404, allocations: 4.625 kB / 0.5064 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.4423, allocations: 1.154 MB / 0.5076 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.4439, allocations: 282.1 kB / 0.5078 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007555/0.4514, allocations: 4.683 MB / 0.5124 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.4533, allocations: 2.053 MB / 0.5144 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/0.4538, allocations: 115.4 kB / 0.5145 GB, free: 10.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.432e-06/0.4538, allocations: 0 / 0.5145 GB, free: 10.28 MB / 430.1 MB Notification: Performance of Templates: time 0.07137/0.5252, allocations: 57.7 MB / 0.5709 GB, free: 0.6172 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.77112004798255]