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.001798/0.001798, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002344/0.002344, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001538/0.001538, allocations: 55.86 kB / 378.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2329, allocations: 53.35 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007966/0.2409, allocations: 5.887 MB / 437.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004598/0.2455, allocations: 2.16 MB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.2465, allocations: 51.69 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.2477, allocations: 377.5 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.2503, allocations: 0.8356 MB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2513, allocations: 362.8 kB / 441.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004298/0.2556, allocations: 3.192 MB / 444.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.2573, allocations: 1.066 MB / 445.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.2591, allocations: 1.336 MB / 446.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.2614, allocations: 1.689 MB / 448.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005392/0.262, allocations: 296 kB / 448.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009516/0.2629, allocations: 423.9 kB / 449.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007998/0.2637, allocations: 0.8568 MB / 450.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.2652, allocations: 1.182 MB / 451.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004554/0.2697, allocations: 4.143 MB / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2697, allocations: 3.938 kB / 455.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2698, allocations: 4 kB / 455.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001482/0.2699, allocations: 0 / 455.4 MB, free: 14.76 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.01155/0.2815, allocations: 3.478 MB / 458.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.2815, allocations: 8.031 kB / 458.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.2858, allocations: 0.7524 MB / 459.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.2897, allocations: 1.691 MB / 461.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.2898, allocations: 177 kB / 461.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/0.2902, allocations: 232.1 kB / 461.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.2957, allocations: 3.433 MB / 465.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.2958, allocations: 0 / 465.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.296, allocations: 95.98 kB / 465.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/0.2961, allocations: 66 kB / 465.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/0.301, allocations: 2.866 MB / 468.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.3155, allocations: 8.032 MB / 476.2 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/0.3195, allocations: 1.833 MB / 478.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3208, allocations: 0.7598 MB / 478.8 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004266/0.3251, allocations: 2.047 MB / 480.9 MB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.3251, allocations: 47.16 kB / 480.9 MB, free: 4.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.085e-06/0.3251, allocations: 4 kB / 480.9 MB, free: 4.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009264/0.3344, allocations: 4.132 MB / 485.1 MB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.3345, allocations: 119.2 kB / 485.2 MB, free: 328 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.337, allocations: 1.6 MB / 486.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.3371, allocations: 41.7 kB / 486.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/0.3381, allocations: 1.145 MB / 488 MB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.3384, allocations: 372.9 kB / 488.3 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.3388, allocations: 238.8 kB / 488.6 MB, free: 12.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.339, allocations: 361.9 kB / 488.9 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3402, allocations: 0.6388 MB / 489.5 MB, free: 11.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.3416, allocations: 1.015 MB / 490.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.3442, allocations: 1.693 MB / 492.3 MB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.3442, allocations: 4 kB / 492.3 MB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003648/0.3478, allocations: 1.953 MB / 494.2 MB, free: 6.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3479, allocations: 14.66 kB / 494.2 MB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.3479, allocations: 12 kB / 494.2 MB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003881/0.3483, allocations: 129.6 kB / 494.4 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.3496, allocations: 335.8 kB / 494.7 MB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.3529, allocations: 3.162 MB / 497.9 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.354, allocations: 99.67 kB / 497.9 MB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.3542, allocations: 59.98 kB / 498 MB, free: 2.895 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.001427/0.3556, allocations: 0.8329 MB / 498.8 MB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.356, allocations: 151.1 kB / 499 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.359, allocations: 1.389 MB / 0.4887 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.359, allocations: 12 kB / 0.4887 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.3591, allocations: 4 kB / 0.4887 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3591, allocations: 3.984 kB / 0.4887 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/0.3635, allocations: 1.964 MB / 0.4906 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3635, allocations: 0 / 0.4906 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.3643, allocations: 187.8 kB / 0.4908 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008955/0.3652, allocations: 258.3 kB / 0.491 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.3654, allocations: 35.97 kB / 0.491 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007655/0.373, allocations: 5.821 MB / 0.4967 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.373, allocations: 4.031 kB / 0.4967 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.3775, allocations: 2.553 MB / 0.4992 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.3781, allocations: 178.9 kB / 0.4994 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.3784, allocations: 24 kB / 0.4994 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.3794, allocations: 99.89 kB / 0.4995 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.3796, allocations: 100 kB / 0.4996 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/0.3797, allocations: 35.98 kB / 0.4996 GB, free: 4.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001833/0.3815, allocations: 1.095 MB / 0.5007 GB, free: 3.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3815, allocations: 0 / 0.5007 GB, free: 3.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001616/0.3832, allocations: 455.9 kB / 0.5012 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.0003328/0.3835, allocations: 159 kB / 0.5013 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.3867, allocations: 1.677 MB / 0.5029 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3867, allocations: 1.75 kB / 0.5029 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.3887, allocations: 1.147 MB / 0.5041 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.3903, allocations: 257.6 kB / 0.5043 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.3989, allocations: 4.738 MB / 0.5089 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.4012, allocations: 1.539 MB / 0.5104 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.4027, allocations: 451.2 kB / 0.5109 GB, free: 9.148 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.4031, allocations: 103.4 kB / 0.511 GB, free: 9.047 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4031, allocations: 0 / 0.511 GB, free: 9.047 MB / 430.1 MB Notification: Performance of Templates: time 0.04176/0.4449, allocations: 22.03 MB / 0.5325 GB, free: 3.34 MB / 446.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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: 5.498618790879846]