Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00804/0.00804, allocations: 104 kB / 21.98 MB, free: 5.211 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.002005/0.002005, allocations: 220 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/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|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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2282, allocations: 53.37 MB / 433.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008204/0.2364, allocations: 6.696 MB / 439.9 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.2409, allocations: 2.285 MB / 442.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.2417, allocations: 51.69 kB / 442.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.2427, allocations: 381.5 kB / 442.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.2449, allocations: 0.8589 MB / 443.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.2457, allocations: 371.2 kB / 443.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.2497, allocations: 3.191 MB / 447 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.2513, allocations: 1.098 MB / 448.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.253, allocations: 1.328 MB / 449.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.2556, allocations: 1.666 MB / 451.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.2561, allocations: 292 kB / 451.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.2571, allocations: 431.9 kB / 451.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008186/0.2579, allocations: 0.8567 MB / 452.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.2598, allocations: 1.47 MB / 454.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.2646, allocations: 4.112 MB / 458.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2646, allocations: 0 / 458.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2646, allocations: 0 / 458.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.2647, allocations: 0 / 458.2 MB, free: 13.8 MB / 366.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.008627/0.2734, allocations: 3.486 MB / 461.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2734, allocations: 8.031 kB / 461.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.2777, allocations: 0.7563 MB / 462.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/0.2813, allocations: 1.683 MB / 464.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.2814, allocations: 173 kB / 464.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.2819, allocations: 232.1 kB / 464.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006228/0.2881, allocations: 3.211 MB / 467.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.2881, allocations: 0 / 467.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.2884, allocations: 92 kB / 467.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/0.2884, allocations: 66 kB / 467.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005273/0.2937, allocations: 2.87 MB / 470.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.3097, allocations: 9.046 MB / 479.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/0.3137, allocations: 1.843 MB / 481.7 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.315, allocations: 0.7626 MB / 482.4 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004323/0.3193, allocations: 2.246 MB / 484.7 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.3194, allocations: 46.89 kB / 484.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.996e-06/0.3194, allocations: 4 kB / 484.7 MB, free: 2.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008252/0.3276, allocations: 4.124 MB / 488.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.3277, allocations: 119.2 kB / 489 MB, free: 14.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.33, allocations: 1.625 MB / 490.6 MB, free: 12.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.3302, allocations: 41.7 kB / 490.6 MB, free: 12.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000873/0.331, allocations: 1.149 MB / 491.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.3314, allocations: 372.9 kB / 492.2 MB, free: 11.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.3317, allocations: 238.8 kB / 492.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3319, allocations: 357.9 kB / 492.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.333, allocations: 0.631 MB / 493.4 MB, free: 9.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3344, allocations: 1.012 MB / 494.4 MB, free: 8.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.3369, allocations: 1.71 MB / 496.1 MB, free: 6.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.3369, allocations: 4 kB / 496.1 MB, free: 6.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003599/0.3405, allocations: 1.953 MB / 498.1 MB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.3406, allocations: 15.94 kB / 498.1 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.3406, allocations: 12 kB / 498.1 MB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.341, allocations: 129.5 kB / 498.2 MB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.3423, allocations: 335.7 kB / 498.5 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.3455, allocations: 3.221 MB / 0.49 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.3466, allocations: 99.67 kB / 0.4901 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.3468, allocations: 55.98 kB / 0.4901 GB, free: 0.8672 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.00133/0.3481, allocations: 0.8386 MB / 0.491 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.3485, allocations: 162.9 kB / 0.4911 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.3511, allocations: 1.378 MB / 0.4925 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.3511, allocations: 19.92 kB / 0.4925 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.3511, allocations: 4 kB / 0.4925 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3512, allocations: 3.984 kB / 0.4925 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004185/0.3553, allocations: 2.449 MB / 0.4949 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3554, allocations: 0 / 0.4949 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/0.3562, allocations: 183.8 kB / 0.4951 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/0.3569, allocations: 262.1 kB / 0.4953 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.357, allocations: 35.97 kB / 0.4953 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006335/0.3633, allocations: 5.934 MB / 0.5011 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3633, allocations: 7.969 kB / 0.5011 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/0.3677, allocations: 2.554 MB / 0.5036 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.3682, allocations: 186.8 kB / 0.5038 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.3684, allocations: 35.92 kB / 0.5038 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008719/0.3693, allocations: 87.91 kB / 0.5039 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.3695, allocations: 92.25 kB / 0.504 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.3696, allocations: 39.97 kB / 0.5041 GB, free: 2.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.3713, allocations: 1.132 MB / 0.5052 GB, free: 1 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3713, allocations: 0 / 0.5052 GB, free: 1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001528/0.3728, allocations: 447.9 kB / 0.5056 GB, free: 0.5625 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.0003196/0.3732, allocations: 171.1 kB / 0.5058 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.3763, allocations: 1.673 MB / 0.5074 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3763, allocations: 1.75 kB / 0.5074 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.3783, allocations: 1.141 MB / 0.5085 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.38, allocations: 282.8 kB / 0.5088 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/0.3886, allocations: 4.725 MB / 0.5134 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001994/0.3906, allocations: 2.046 MB / 0.5154 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.3911, allocations: 119.4 kB / 0.5155 GB, free: 6.246 MB / 430.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3911, allocations: 4 kB / 0.5155 GB, free: 6.242 MB / 430.1 MB Notification: Performance of Templates: time 0.2472/0.6384, allocations: 57.71 MB / 0.5719 GB, free: 75.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 11.234445729060099]