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.001354/0.001354, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.00153/0.00153, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.461/1.461, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.001711/0.001711, allocations: 47.92 kB / 374.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1187, allocations: 53.32 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2242/0.3428, allocations: 10.06 MB / 437.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006426/0.3493, allocations: 3.403 MB / 441 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.351, allocations: 90.19 kB / 441 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008018/0.359, allocations: 3.855 MB / 444.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.3637, allocations: 1.499 MB / 446.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.3664, allocations: 1.055 MB / 447.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.3789, allocations: 9.263 MB / 456.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02942/0.4083, allocations: 15.82 MB / 472.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/0.4206, allocations: 5.144 MB / 477.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.4338, allocations: 6.149 MB / 483.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004228/0.438, allocations: 1.402 MB / 485.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007284/0.4453, allocations: 1.664 MB / 486.9 MB, free: 5.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005591/0.4509, allocations: 2.923 MB / 489.8 MB, free: 2.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01201/0.4629, allocations: 5.455 MB / 495.3 MB, free: 12.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02612/0.489, allocations: 18.9 MB / 0.5021 GB, free: 9.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.489, allocations: 0 / 0.5021 GB, free: 9.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.489, allocations: 0 / 0.5021 GB, free: 9.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005525/0.4896, allocations: 0 / 0.5021 GB, free: 9.785 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.04144/0.531, allocations: 12.46 MB / 0.5143 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.531, allocations: 8.031 kB / 0.5143 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05302/0.5841, allocations: 8.429 MB / 0.5225 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.599, allocations: 5.908 MB / 0.5283 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008738/0.5999, allocations: 0.6623 MB / 0.5289 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/0.6041, allocations: 0.8632 MB / 0.5298 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04254/0.6467, allocations: 16.02 MB / 0.5454 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003997/0.6471, allocations: 15.94 kB / 0.5454 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003378/0.6504, allocations: 364 kB / 0.5458 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000725/0.6512, allocations: 0.5633 MB / 0.5463 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03715/0.6883, allocations: 15.77 MB / 0.5617 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09602/0.7843, allocations: 48.68 MB / 0.6093 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4429/1.227, allocations: 18.87 MB / 0.6277 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006038/1.233, allocations: 3.247 MB / 0.6309 GB, free: 140 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/1.234, allocations: 303.4 kB / 0.6312 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.925e-05/1.234, allocations: 90.58 kB / 0.6312 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 1.063e-05/1.234, allocations: 3.969 kB / 0.6313 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.0305/1.265, allocations: 11.56 MB / 0.6425 GB, free: 136 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/1.265, allocations: 125.5 kB / 0.6427 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007858/1.272, allocations: 3.851 MB / 0.6464 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009931/1.273, allocations: 102 kB / 0.6465 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.276, allocations: 4.045 MB / 0.6505 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001855/1.278, allocations: 1.685 MB / 0.6521 GB, free: 131.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003718/1.281, allocations: 1.493 MB / 0.6536 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/1.282, allocations: 305.1 kB / 0.6539 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005663/1.287, allocations: 3.695 MB / 0.6575 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007239/1.294, allocations: 6.531 MB / 0.6638 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.306, allocations: 10.85 MB / 0.6744 GB, free: 116.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.306, allocations: 26.28 kB / 0.6745 GB, free: 116.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02273/1.329, allocations: 11.95 MB / 0.6861 GB, free: 110.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.329, allocations: 44 kB / 0.6862 GB, free: 110.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/1.329, allocations: 96 kB / 0.6863 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005194/1.334, allocations: 1.622 MB / 0.6879 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/1.341, allocations: 1.677 MB / 0.6895 GB, free: 107.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/1.358, allocations: 17.68 MB / 0.7068 GB, free: 89.04 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/1.364, allocations: 0.9625 MB / 0.7077 GB, free: 88.07 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.366, allocations: 367.9 kB / 0.7081 GB, free: 87.71 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.006803/1.373, allocations: 3.754 MB / 0.7117 GB, free: 83.94 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/1.374, allocations: 413.9 kB / 0.7121 GB, free: 83.54 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.389, allocations: 8.526 MB / 0.7204 GB, free: 74.92 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/1.39, allocations: 48 kB / 0.7205 GB, free: 74.88 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.972e-05/1.39, allocations: 12 kB / 0.7205 GB, free: 74.86 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.248e-05/1.39, allocations: 31.84 kB / 0.7205 GB, free: 74.83 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03402/1.424, allocations: 16.8 MB / 0.7369 GB, free: 58 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/1.424, allocations: 0 / 0.7369 GB, free: 58 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/1.427, allocations: 0.8727 MB / 0.7378 GB, free: 57.13 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/1.432, allocations: 1.511 MB / 0.7393 GB, free: 55.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/1.433, allocations: 118 kB / 0.7394 GB, free: 55.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/1.451, allocations: 17.46 MB / 0.7564 GB, free: 37.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.451, allocations: 4 kB / 0.7564 GB, free: 37.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02117/1.472, allocations: 12.25 MB / 0.7684 GB, free: 24.74 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003168/1.475, allocations: 1.126 MB / 0.7695 GB, free: 23.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/1.477, allocations: 87.98 kB / 0.7696 GB, free: 23.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003582/1.48, allocations: 299.7 kB / 0.7699 GB, free: 23.21 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/1.482, allocations: 323.6 kB / 0.7702 GB, free: 22.89 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007575/1.482, allocations: 140 kB / 0.7703 GB, free: 22.76 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004727/1.487, allocations: 2.578 MB / 0.7728 GB, free: 20.18 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.487, allocations: 0 / 0.7728 GB, free: 20.18 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00914/1.496, allocations: 2.403 MB / 0.7752 GB, free: 17.77 MB / 0.5138 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.001143/1.497, allocations: 270.9 kB / 0.7754 GB, free: 17.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.512, allocations: 9.021 MB / 0.7842 GB, free: 8.379 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.512, allocations: 0 / 0.7842 GB, free: 8.379 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006992/1.519, allocations: 4.187 MB / 0.7883 GB, free: 4.113 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005025/1.524, allocations: 0.7403 MB / 0.789 GB, free: 3.383 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03584/1.56, allocations: 16.88 MB / 0.8055 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01047/1.571, allocations: 5.931 MB / 0.8113 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002726/1.573, allocations: 471.3 kB / 0.8118 GB, free: 12 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/1.573, allocations: 0 / 0.8118 GB, free: 12 MB / 0.545 GB Notification: Performance of Templates: time 1.002/2.575, allocations: 420.1 MB / 1.222 GB, free: 38.5 MB / 0.5763 GB " [Timeout remaining time 657] 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: 18.011103291006293]