Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001497/0.001497, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001888/0.001888, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 8 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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 43.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2322, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01242/0.2446, allocations: 10.06 MB / 442.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006748/0.2514, allocations: 3.427 MB / 445.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.2527, allocations: 87.56 kB / 446 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008896/0.2616, allocations: 3.878 MB / 449.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.266, allocations: 1.571 MB / 451.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.2685, allocations: 1.072 MB / 452.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.2796, allocations: 9.352 MB / 461.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01937/0.299, allocations: 12.95 MB / 474.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007376/0.3064, allocations: 5.171 MB / 480 MB, free: 7.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009823/0.3162, allocations: 6.165 MB / 486.1 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003103/0.3193, allocations: 1.398 MB / 487.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/0.3235, allocations: 1.652 MB / 489.2 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003333/0.3269, allocations: 2.93 MB / 492.1 MB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007774/0.3347, allocations: 5.455 MB / 497.6 MB, free: 5.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.3546, allocations: 18.9 MB / 0.5044 GB, free: 2.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3546, allocations: 0 / 0.5044 GB, free: 2.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3546, allocations: 0 / 0.5044 GB, free: 2.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003863/0.355, allocations: 0 / 0.5044 GB, free: 2.484 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03203/0.387, allocations: 12.38 MB / 0.5165 GB, free: 6.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.387, allocations: 11.97 kB / 0.5165 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04615/0.4332, allocations: 8.429 MB / 0.5247 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.4466, allocations: 6.019 MB / 0.5306 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006428/0.4472, allocations: 0.6584 MB / 0.5312 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/0.4503, allocations: 0.8671 MB / 0.5321 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4274/0.8777, allocations: 16.02 MB / 0.5477 GB, free: 81.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.8779, allocations: 10.77 kB / 0.5477 GB, free: 81.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/0.8792, allocations: 366.1 kB / 0.5481 GB, free: 80.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003669/0.8795, allocations: 0.5645 MB / 0.5486 GB, free: 80.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02554/0.9051, allocations: 15.77 MB / 0.564 GB, free: 73.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06222/0.9673, allocations: 46.69 MB / 0.6096 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.9793, allocations: 8.5 MB / 0.6179 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/0.983, allocations: 3.249 MB / 0.6211 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/0.9833, allocations: 146.8 kB / 0.6212 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.9833, allocations: 82.5 kB / 0.6213 GB, free: 15.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.962e-06/0.9833, allocations: 4 kB / 0.6213 GB, free: 15.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01915/1.002, allocations: 11.1 MB / 0.6322 GB, free: 4.453 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/1.003, allocations: 129 kB / 0.6323 GB, free: 4.309 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/1.007, allocations: 3.843 MB / 0.6361 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005734/1.008, allocations: 105.7 kB / 0.6362 GB, free: 424 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002966/1.011, allocations: 4.056 MB / 0.6401 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.013, allocations: 1.689 MB / 0.6418 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002248/1.015, allocations: 1.489 MB / 0.6432 GB, free: 9.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/1.015, allocations: 301.1 kB / 0.6435 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005518/1.02, allocations: 3.699 MB / 0.6471 GB, free: 5.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008632/1.029, allocations: 6.531 MB / 0.6535 GB, free: 13.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/1.045, allocations: 10.85 MB / 0.6641 GB, free: 1.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.824e-05/1.045, allocations: 31.94 kB / 0.6641 GB, free: 1.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02474/1.07, allocations: 11.95 MB / 0.6758 GB, free: 5.512 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.07, allocations: 44 kB / 0.6758 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/1.07, allocations: 99.94 kB / 0.6759 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00513/1.075, allocations: 1.625 MB / 0.6775 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0065/1.082, allocations: 1.677 MB / 0.6792 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/1.104, allocations: 17.05 MB / 0.6958 GB, free: 312 kB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005736/1.11, allocations: 0.9705 MB / 0.6968 GB, free: 15.32 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.111, allocations: 371.9 kB / 0.6971 GB, free: 14.96 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007469/1.119, allocations: 3.747 MB / 0.7008 GB, free: 11.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.12, allocations: 425 kB / 0.7012 GB, free: 10.79 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.138, allocations: 8.518 MB / 0.7095 GB, free: 2.18 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.315e-05/1.138, allocations: 51.94 kB / 0.7095 GB, free: 2.129 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-05/1.138, allocations: 12 kB / 0.7096 GB, free: 2.117 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/1.138, allocations: 23.91 kB / 0.7096 GB, free: 2.094 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03584/1.174, allocations: 16.86 MB / 0.726 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.174, allocations: 7.984 kB / 0.7261 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003673/1.178, allocations: 0.8737 MB / 0.7269 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004705/1.182, allocations: 1.507 MB / 0.7284 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005526/1.183, allocations: 112 kB / 0.7285 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2308/1.414, allocations: 16.85 MB / 0.7449 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.414, allocations: 9.938 kB / 0.7449 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/1.431, allocations: 12.24 MB / 0.7569 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.433, allocations: 1.092 MB / 0.758 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006047/1.434, allocations: 84.84 kB / 0.758 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.436, allocations: 301.9 kB / 0.7583 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005925/1.436, allocations: 342.3 kB / 0.7587 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.437, allocations: 145.8 kB / 0.7588 GB, free: 168.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002933/1.44, allocations: 2.574 MB / 0.7613 GB, free: 168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.44, allocations: 0 / 0.7613 GB, free: 168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005745/1.445, allocations: 2.408 MB / 0.7637 GB, free: 167.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004981/1.446, allocations: 273.2 kB / 0.7639 GB, free: 167.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.457, allocations: 9.014 MB / 0.7727 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.457, allocations: 3.938 kB / 0.7727 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005153/1.462, allocations: 4.178 MB / 0.7768 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/1.465, allocations: 0.737 MB / 0.7775 GB, free: 161.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.486, allocations: 17.03 MB / 0.7942 GB, free: 147.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004366/1.49, allocations: 5.926 MB / 0.8 GB, free: 142.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/1.492, allocations: 469.8 kB / 0.8004 GB, free: 142.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.492, allocations: 0 / 0.8004 GB, free: 142.1 MB / 0.545 GB Notification: Performance of Templates: time 0.8015/2.293, allocations: 420.1 MB / 1.211 GB, free: 175 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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: 16.457336839986965]