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.001526/0.001526, allocations: 83.84 kB / 20.68 MB, free: 1.027 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.00161/0.00161, allocations: 164.2 kB / 23.95 MB, free: 4.156 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.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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 3.606e-06/3.606e-06, allocations: 1.953 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.896e-05, allocations: 6.281 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0111/0.01113, allocations: 8.716 MB / 333.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.01852, allocations: 3.252 MB / 337 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.02013, allocations: 85.91 kB / 337.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009312/0.02945, allocations: 3.801 MB / 340.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.03441, allocations: 1.533 MB / 342.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.03689, allocations: 1.035 MB / 343.5 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.04798, allocations: 9.633 MB / 353.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02002/0.068, allocations: 12.87 MB / 366 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.0803, allocations: 7.516 MB / 373.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009557/0.08986, allocations: 5.509 MB / 379 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003423/0.09328, allocations: 1.398 MB / 380.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.09841, allocations: 1.648 MB / 382.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00442/0.1028, allocations: 2.977 MB / 385 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007897/0.1107, allocations: 3.684 MB / 388.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02281/0.1335, allocations: 19.17 MB / 407.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.1335, allocations: 4 kB / 407.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1335, allocations: 0 / 407.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005272/0.1341, allocations: 0 / 407.9 MB, free: 2.023 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03682/0.1709, allocations: 12.31 MB / 420.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1709, allocations: 8.031 kB / 420.2 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05137/0.2223, allocations: 8.425 MB / 428.6 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.2369, allocations: 6.027 MB / 434.7 MB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006709/0.2376, allocations: 0.6584 MB / 435.3 MB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003216/0.2408, allocations: 0.8671 MB / 436.2 MB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03401/0.2748, allocations: 16.28 MB / 452.5 MB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/0.275, allocations: 11.95 kB / 452.5 MB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.2762, allocations: 371.9 kB / 452.9 MB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005746/0.2767, allocations: 0.5543 MB / 453.4 MB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03121/0.3079, allocations: 15.68 MB / 469.1 MB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3811/0.6891, allocations: 41.75 MB / 0.4989 GB, free: 90.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.7022, allocations: 8.451 MB / 0.5071 GB, free: 86.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003897/0.7061, allocations: 3.247 MB / 0.5103 GB, free: 83.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.7064, allocations: 115.9 kB / 0.5104 GB, free: 83.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.7065, allocations: 90.22 kB / 0.5105 GB, free: 82.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.504e-06/0.7065, allocations: 4 kB / 0.5105 GB, free: 82.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02147/0.728, allocations: 11.09 MB / 0.5213 GB, free: 71.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.728, allocations: 129.1 kB / 0.5214 GB, free: 71.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/0.7331, allocations: 3.978 MB / 0.5253 GB, free: 67.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009529/0.7341, allocations: 101.7 kB / 0.5254 GB, free: 67.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.736, allocations: 4.012 MB / 0.5293 GB, free: 64.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001625/0.7376, allocations: 1.669 MB / 0.531 GB, free: 62.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001829/0.7394, allocations: 1.477 MB / 0.5324 GB, free: 61.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.7395, allocations: 305.1 kB / 0.5327 GB, free: 61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004514/0.744, allocations: 3.691 MB / 0.5363 GB, free: 57.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.7495, allocations: 6.531 MB / 0.5427 GB, free: 49.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.7603, allocations: 10.86 MB / 0.5533 GB, free: 37.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.421e-05/0.7604, allocations: 28 kB / 0.5533 GB, free: 37.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01944/0.7799, allocations: 11.95 MB / 0.565 GB, free: 25.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.78, allocations: 48 kB / 0.565 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/0.7801, allocations: 95.98 kB / 0.5651 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004905/0.785, allocations: 1.617 MB / 0.5667 GB, free: 23.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005877/0.7909, allocations: 1.673 MB / 0.5683 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/0.8073, allocations: 16.73 MB / 0.5847 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005751/0.8131, allocations: 0.9625 MB / 0.5856 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/0.8143, allocations: 368 kB / 0.586 GB, free: 3.117 MB / 430.1 MB 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.006597/0.8209, allocations: 3.754 MB / 0.5896 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/0.8222, allocations: 409.4 kB / 0.59 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/0.8405, allocations: 8.526 MB / 0.5984 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/0.8405, allocations: 52 kB / 0.5984 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-05/0.8406, allocations: 12 kB / 0.5984 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.373e-05/0.8407, allocations: 27.84 kB / 0.5984 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/0.8714, allocations: 14.87 MB / 0.613 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.8714, allocations: 0 / 0.613 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004232/0.8757, allocations: 0.8775 MB / 0.6138 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/0.8812, allocations: 1.518 MB / 0.6153 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008096/0.882, allocations: 112 kB / 0.6154 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/0.9042, allocations: 16.52 MB / 0.6315 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.9042, allocations: 7.938 kB / 0.6316 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0232/0.9274, allocations: 12.23 MB / 0.6435 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003157/0.9305, allocations: 1.086 MB / 0.6446 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008755/0.9314, allocations: 80 kB / 0.6446 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/0.9342, allocations: 303.6 kB / 0.6449 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008494/0.9351, allocations: 351.3 kB / 0.6453 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/0.9354, allocations: 144 kB / 0.6454 GB, free: 5.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004118/0.9395, allocations: 2.534 MB / 0.6479 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9395, allocations: 0 / 0.6479 GB, free: 2.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007482/0.947, allocations: 2.411 MB / 0.6502 GB, free: 336 kB / 494.1 MB 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.0007736/0.9478, allocations: 266 kB / 0.6505 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.1775/1.125, allocations: 9 MB / 0.6593 GB, free: 162.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.125, allocations: 1.125 kB / 0.6593 GB, free: 162.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007061/1.132, allocations: 4.188 MB / 0.6634 GB, free: 160.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/1.136, allocations: 0.7118 MB / 0.6641 GB, free: 160.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/1.16, allocations: 17.01 MB / 0.6807 GB, free: 153.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00575/1.165, allocations: 5.583 MB / 0.6861 GB, free: 149.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0064/1.172, allocations: 3.294 MB / 0.6893 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.173, allocations: 401.7 kB / 0.6897 GB, free: 147 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.173, allocations: 0 / 0.6897 GB, free: 147 MB / 494.1 MB Notification: Performance of Templates: time 0.09235/1.265, allocations: 62.06 MB / 0.7503 GB, free: 85.99 MB / 494.1 MB " [Timeout remaining time 659] 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/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_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: 7.976733200252056]