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.001355/0.001355, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001473/0.001473, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001561/0.001561, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2261, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008029/0.2341, allocations: 5.888 MB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004534/0.2386, allocations: 2.157 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000778/0.2394, allocations: 55.62 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.2403, allocations: 385.5 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.2427, allocations: 0.8278 MB / 441.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.2435, allocations: 359.3 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004274/0.2478, allocations: 3.199 MB / 445.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.2495, allocations: 1.094 MB / 446.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.2514, allocations: 1.328 MB / 447.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.2541, allocations: 1.662 MB / 449.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.2546, allocations: 296 kB / 449.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2557, allocations: 431.8 kB / 450 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009114/0.2566, allocations: 0.8529 MB / 450.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.2584, allocations: 1.198 MB / 452 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.2634, allocations: 4.134 MB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2634, allocations: 0 / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2634, allocations: 0 / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.2635, allocations: 0 / 456.2 MB, free: 14.75 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.009212/0.2727, allocations: 3.486 MB / 459.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2728, allocations: 8.031 kB / 459.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/0.2772, allocations: 0.7524 MB / 460.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.2814, allocations: 1.687 MB / 462.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.2815, allocations: 169 kB / 462.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/0.2821, allocations: 240 kB / 462.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006088/0.2882, allocations: 3.429 MB / 465.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/0.2882, allocations: 0 / 465.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.2885, allocations: 92 kB / 466 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-05/0.2885, allocations: 70 kB / 466.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/0.2936, allocations: 2.862 MB / 469 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.31, allocations: 8.035 MB / 477 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.3142, allocations: 1.832 MB / 478.8 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.3155, allocations: 0.7637 MB / 479.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004675/0.3202, allocations: 2.043 MB / 481.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.3202, allocations: 50.83 kB / 481.7 MB, free: 4.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.026e-06/0.3202, allocations: 4 kB / 481.7 MB, free: 4.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008526/0.3288, allocations: 4.129 MB / 485.8 MB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.3288, allocations: 119.2 kB / 485.9 MB, free: 324 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.3311, allocations: 1.596 MB / 487.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3312, allocations: 41.7 kB / 487.6 MB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008783/0.3321, allocations: 1.141 MB / 488.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.3324, allocations: 372.9 kB / 489.1 MB, free: 13.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.3328, allocations: 242.8 kB / 489.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.333, allocations: 361.9 kB / 489.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3341, allocations: 0.6387 MB / 490.3 MB, free: 11.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.3354, allocations: 1.019 MB / 491.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.3379, allocations: 1.696 MB / 493 MB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3379, allocations: 4 kB / 493 MB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003629/0.3415, allocations: 1.959 MB / 495 MB, free: 6.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.3416, allocations: 8 kB / 495 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.3416, allocations: 12 kB / 495 MB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.342, allocations: 125.6 kB / 495.1 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.3434, allocations: 335.7 kB / 495.4 MB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.3465, allocations: 3.167 MB / 498.6 MB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.3477, allocations: 95.67 kB / 498.7 MB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.3479, allocations: 60.22 kB / 498.8 MB, free: 2.891 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.001417/0.3493, allocations: 0.8329 MB / 499.6 MB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.3496, allocations: 155 kB / 499.8 MB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.3523, allocations: 1.389 MB / 0.4894 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3524, allocations: 12 kB / 0.4894 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3524, allocations: 8 kB / 0.4894 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3524, allocations: 3.984 kB / 0.4894 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.3563, allocations: 1.956 MB / 0.4913 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.3563, allocations: 4 kB / 0.4913 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/0.3572, allocations: 187.8 kB / 0.4915 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006813/0.3579, allocations: 250.3 kB / 0.4917 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.358, allocations: 35.97 kB / 0.4918 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006584/0.3646, allocations: 5.825 MB / 0.4975 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3646, allocations: 3.938 kB / 0.4975 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.3688, allocations: 2.553 MB / 0.5 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.3693, allocations: 178.9 kB / 0.5001 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.3695, allocations: 31.98 kB / 0.5002 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/0.3704, allocations: 91.91 kB / 0.5003 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.3706, allocations: 104 kB / 0.5004 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.3707, allocations: 31.98 kB / 0.5004 GB, free: 4.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001574/0.3723, allocations: 1.095 MB / 0.5015 GB, free: 3.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3723, allocations: 0 / 0.5015 GB, free: 3.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001606/0.3739, allocations: 455.9 kB / 0.5019 GB, free: 3.277 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.0003361/0.3742, allocations: 167 kB / 0.5021 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003277/0.3775, allocations: 1.663 MB / 0.5037 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.3775, allocations: 0 / 0.5037 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.3796, allocations: 1.15 MB / 0.5048 GB, free: 236 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.3813, allocations: 260.8 kB / 0.505 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/0.3894, allocations: 4.717 MB / 0.5097 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.3911, allocations: 1.483 MB / 0.5111 GB, free: 9.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.3917, allocations: 119.4 kB / 0.5112 GB, free: 9.551 MB / 430.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3917, allocations: 0 / 0.5112 GB, free: 9.551 MB / 430.1 MB Notification: Performance of Templates: time 0.3721/0.7638, allocations: 58.31 MB / 0.5682 GB, free: 79.14 MB / 446.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.694192795985145]