Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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.001276/0.001276, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001366/0.001366, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 8.055 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.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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.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.002173/0.002173, allocations: 68.77 kB / 379.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2367, allocations: 53.38 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0135/0.2502, allocations: 10.07 MB / 442.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.2576, allocations: 3.427 MB / 445.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.2593, allocations: 87.56 kB / 446 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009771/0.2691, allocations: 3.88 MB / 449.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005335/0.2744, allocations: 1.563 MB / 451.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.2774, allocations: 1.077 MB / 452.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0136/0.291, allocations: 9.349 MB / 461.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02393/0.3149, allocations: 12.22 MB / 474.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009252/0.3242, allocations: 5.183 MB / 479.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.335, allocations: 6.157 MB / 485.4 MB, free: 1.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004121/0.3392, allocations: 1.395 MB / 486.8 MB, free: 320 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005213/0.3444, allocations: 1.656 MB / 488.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004586/0.349, allocations: 2.93 MB / 491.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009616/0.3586, allocations: 5.459 MB / 496.9 MB, free: 6.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02495/0.3835, allocations: 18.9 MB / 0.5037 GB, free: 3.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3835, allocations: 0 / 0.5037 GB, free: 3.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.3835, allocations: 0 / 0.5037 GB, free: 3.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006486/0.3842, allocations: 0 / 0.5037 GB, free: 3.277 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.03857/0.4228, allocations: 12.38 MB / 0.5158 GB, free: 6.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4228, allocations: 12.03 kB / 0.5158 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04982/0.4726, allocations: 8.425 MB / 0.524 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.4871, allocations: 6.019 MB / 0.5299 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007274/0.4878, allocations: 0.6623 MB / 0.5305 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003655/0.4915, allocations: 0.8593 MB / 0.5314 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4404/0.9319, allocations: 16.03 MB / 0.547 GB, free: 81.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003636/0.9323, allocations: 14.69 kB / 0.547 GB, free: 81.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002602/0.9349, allocations: 369.1 kB / 0.5474 GB, free: 80.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004249/0.9353, allocations: 0.5575 MB / 0.5479 GB, free: 80.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/0.9636, allocations: 15.77 MB / 0.5633 GB, free: 74.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07186/1.035, allocations: 46.68 MB / 0.6089 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.048, allocations: 8.504 MB / 0.6172 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004277/1.053, allocations: 3.25 MB / 0.6204 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/1.053, allocations: 146.2 kB / 0.6205 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/1.053, allocations: 82.56 kB / 0.6206 GB, free: 16.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.442e-06/1.053, allocations: 4 kB / 0.6206 GB, free: 16.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02013/1.073, allocations: 11.1 MB / 0.6315 GB, free: 5.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.073, allocations: 129.1 kB / 0.6316 GB, free: 5.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004894/1.078, allocations: 3.851 MB / 0.6354 GB, free: 1.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007434/1.079, allocations: 101.7 kB / 0.6355 GB, free: 1.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002604/1.081, allocations: 4.047 MB / 0.6394 GB, free: 13.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002029/1.083, allocations: 1.684 MB / 0.6411 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002358/1.086, allocations: 1.492 MB / 0.6425 GB, free: 10.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/1.086, allocations: 309.1 kB / 0.6428 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006052/1.092, allocations: 3.691 MB / 0.6464 GB, free: 6.422 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009008/1.101, allocations: 6.531 MB / 0.6528 GB, free: 14.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/1.117, allocations: 10.86 MB / 0.6634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.117, allocations: 27.94 kB / 0.6634 GB, free: 2.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0238/1.141, allocations: 11.95 MB / 0.6751 GB, free: 6.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/1.141, allocations: 44 kB / 0.6751 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.141, allocations: 95.94 kB / 0.6752 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005153/1.146, allocations: 1.628 MB / 0.6768 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006598/1.153, allocations: 1.673 MB / 0.6784 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/1.175, allocations: 17.06 MB / 0.6951 GB, free: 1.133 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.181, allocations: 0.9663 MB / 0.696 GB, free: 164 kB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.182, allocations: 371.9 kB / 0.6964 GB, free: 15.8 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.007185/1.189, allocations: 3.749 MB / 0.7001 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009806/1.19, allocations: 421.3 kB / 0.7005 GB, free: 11.62 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/1.207, allocations: 8.518 MB / 0.7088 GB, free: 3.016 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/1.207, allocations: 51.94 kB / 0.7088 GB, free: 2.965 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.807e-05/1.207, allocations: 15.94 kB / 0.7089 GB, free: 2.949 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.683e-05/1.207, allocations: 23.91 kB / 0.7089 GB, free: 2.926 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/1.241, allocations: 16.86 MB / 0.7253 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/1.241, allocations: 4 kB / 0.7253 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003741/1.244, allocations: 0.8698 MB / 0.7262 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004773/1.249, allocations: 1.507 MB / 0.7277 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006938/1.25, allocations: 112 kB / 0.7278 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2719/1.522, allocations: 16.86 MB / 0.7442 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.522, allocations: 6.625 kB / 0.7442 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/1.539, allocations: 12.25 MB / 0.7562 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/1.542, allocations: 1.082 MB / 0.7573 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006358/1.542, allocations: 83.66 kB / 0.7573 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/1.545, allocations: 302.3 kB / 0.7576 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/1.545, allocations: 346 kB / 0.758 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.546, allocations: 142.8 kB / 0.7581 GB, free: 169.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003243/1.549, allocations: 2.575 MB / 0.7606 GB, free: 168.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.549, allocations: 0 / 0.7606 GB, free: 168.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006658/1.555, allocations: 2.404 MB / 0.763 GB, free: 167.8 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.0006871/1.556, allocations: 265.9 kB / 0.7632 GB, free: 167.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.568, allocations: 9.017 MB / 0.772 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.568, allocations: 3.938 kB / 0.772 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006121/1.574, allocations: 4.182 MB / 0.7761 GB, free: 162.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/1.578, allocations: 0.7401 MB / 0.7768 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02738/1.606, allocations: 17.08 MB / 0.7935 GB, free: 147.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006086/1.612, allocations: 6.04 MB / 0.7994 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006429/1.618, allocations: 3.253 MB / 0.8026 GB, free: 140.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.619, allocations: 407.3 kB / 0.803 GB, free: 140.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/1.619, allocations: 0 / 0.803 GB, free: 140.2 MB / 0.545 GB Notification: Performance of Templates: time 0.09983/1.719, allocations: 72.71 MB / 0.874 GB, free: 67.94 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.406025372445583]