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.001327/0.001327, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001523/0.001523, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.407/1.407, allocations: 230.5 MB / 258.1 MB, free: 7.789 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|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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 379 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2191, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008033/0.2271, allocations: 5.898 MB / 438.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.2315, allocations: 2.157 MB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.2322, allocations: 55.69 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008865/0.2331, allocations: 377.5 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.2355, allocations: 0.855 MB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.2363, allocations: 347.3 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00381/0.2401, allocations: 3.202 MB / 445.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.2416, allocations: 1.076 MB / 446.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.2433, allocations: 1.343 MB / 447.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.2458, allocations: 1.685 MB / 449.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004831/0.2463, allocations: 296 kB / 449.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009274/0.2472, allocations: 419.9 kB / 450.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007999/0.248, allocations: 0.8685 MB / 450.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.2495, allocations: 1.198 MB / 452.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.2539, allocations: 4.145 MB / 456.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2539, allocations: 0 / 456.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2539, allocations: 0 / 456.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.989e-05/0.254, allocations: 0 / 456.3 MB, free: 14.5 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: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.008437/0.2624, allocations: 3.482 MB / 459.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2624, allocations: 15.98 kB / 459.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/0.2667, allocations: 0.7641 MB / 460.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.2704, allocations: 1.683 MB / 462.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2705, allocations: 173 kB / 462.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/0.2709, allocations: 240.1 kB / 462.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005528/0.2764, allocations: 3.445 MB / 466.1 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.2765, allocations: 0 / 466.1 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/0.2767, allocations: 92 kB / 466.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.683e-05/0.2768, allocations: 79.31 kB / 466.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/0.2817, allocations: 2.874 MB / 469.1 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.2959, allocations: 8.047 MB / 477.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/0.3, allocations: 1.837 MB / 479 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.3012, allocations: 0.7556 MB / 479.8 MB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003959/0.3052, allocations: 2.051 MB / 481.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.3052, allocations: 42.89 kB / 481.9 MB, free: 4.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.206e-06/0.3053, allocations: 0 / 481.9 MB, free: 4.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008183/0.3134, allocations: 4.144 MB / 486 MB, free: 132 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.3135, allocations: 119.2 kB / 486.1 MB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.3158, allocations: 1.592 MB / 487.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.3158, allocations: 41.7 kB / 487.7 MB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.3168, allocations: 1.152 MB / 488.9 MB, free: 13.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.3172, allocations: 368.9 kB / 489.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.3176, allocations: 242.8 kB / 489.5 MB, free: 12.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3177, allocations: 357.9 kB / 489.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3188, allocations: 0.6312 MB / 490.5 MB, free: 11.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.3202, allocations: 1.019 MB / 491.5 MB, free: 10.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.3228, allocations: 1.705 MB / 493.2 MB, free: 8.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3228, allocations: 7.938 kB / 493.2 MB, free: 8.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003296/0.3261, allocations: 1.939 MB / 495.1 MB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3261, allocations: 18.44 kB / 495.2 MB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.3262, allocations: 8 kB / 495.2 MB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/0.3265, allocations: 129.6 kB / 495.3 MB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.3278, allocations: 331.5 kB / 495.6 MB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/0.331, allocations: 3.166 MB / 498.8 MB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.3319, allocations: 103.8 kB / 498.9 MB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.332, allocations: 56 kB / 498.9 MB, free: 2.562 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.001397/0.3334, allocations: 0.8289 MB / 499.8 MB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.3337, allocations: 155.1 kB / 499.9 MB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.3365, allocations: 1.389 MB / 0.4896 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3365, allocations: 12 kB / 0.4896 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3365, allocations: 4 kB / 0.4896 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.3365, allocations: 15.84 kB / 0.4896 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.3403, allocations: 1.959 MB / 0.4915 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3403, allocations: 4 kB / 0.4915 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.3412, allocations: 183.8 kB / 0.4917 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006708/0.3418, allocations: 262.3 kB / 0.4919 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.3419, allocations: 36.05 kB / 0.492 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006392/0.3483, allocations: 5.829 MB / 0.4977 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3483, allocations: 0 / 0.4977 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/0.3526, allocations: 2.554 MB / 0.5002 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.353, allocations: 182.9 kB / 0.5003 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.3533, allocations: 31.98 kB / 0.5004 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.3542, allocations: 83.91 kB / 0.5004 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.3544, allocations: 108 kB / 0.5005 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.3545, allocations: 31.98 kB / 0.5006 GB, free: 4.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001806/0.3563, allocations: 1.099 MB / 0.5017 GB, free: 3.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3563, allocations: 0 / 0.5017 GB, free: 3.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00152/0.3578, allocations: 448 kB / 0.5021 GB, free: 2.945 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.0003297/0.3581, allocations: 167.1 kB / 0.5022 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.3612, allocations: 1.67 MB / 0.5039 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3612, allocations: 0 / 0.5039 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.3631, allocations: 1.145 MB / 0.505 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.3646, allocations: 265.2 kB / 0.5052 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00776/0.3724, allocations: 4.725 MB / 0.5099 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.374, allocations: 1.483 MB / 0.5113 GB, free: 9.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.3745, allocations: 115.4 kB / 0.5114 GB, free: 9.211 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3745, allocations: 0 / 0.5114 GB, free: 9.211 MB / 430.1 MB Notification: Performance of Templates: time 0.2344/0.6089, allocations: 58.41 MB / 0.5685 GB, free: 78.47 MB / 446.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/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_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.557971214409918]