Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00239/0.00239, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 43.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006441/0.2431, allocations: 4.71 MB / 428.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2463, allocations: 1.701 MB / 430.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.2468, allocations: 31.81 kB / 430.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.2474, allocations: 270.3 kB / 430.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.2493, allocations: 0.7152 MB / 431.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.2499, allocations: 239.4 kB / 431.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.2523, allocations: 1.883 MB / 433.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.2533, allocations: 0.6799 MB / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.2544, allocations: 0.8138 MB / 434.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.2558, allocations: 1.004 MB / 435.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.2561, allocations: 188 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.2568, allocations: 311.9 kB / 436.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.2573, allocations: 0.5453 MB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.2584, allocations: 0.8943 MB / 437.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.2613, allocations: 2.574 MB / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2613, allocations: 0 / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2613, allocations: 0 / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.44e-05/0.2614, allocations: 0 / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00489/0.2663, allocations: 2.145 MB / 442.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2663, allocations: 8.031 kB / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.2681, allocations: 387.5 kB / 443 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.2703, allocations: 1.034 MB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.631e-05/0.2704, allocations: 106.9 kB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.2706, allocations: 136.1 kB / 444.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.274, allocations: 1.89 MB / 446.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.274, allocations: 0 / 446.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.2742, allocations: 56 kB / 446.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/0.2742, allocations: 46 kB / 446.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/0.2772, allocations: 1.695 MB / 447.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009356/0.2865, allocations: 5.421 MB / 453.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.289, allocations: 1.069 MB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.2898, allocations: 478 kB / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002495/0.2923, allocations: 1.362 MB / 456.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2923, allocations: 38.56 kB / 456.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/0.2923, allocations: 0 / 456.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00332/0.2956, allocations: 1.334 MB / 457.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.2957, allocations: 85.05 kB / 457.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.2972, allocations: 1.028 MB / 458.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.2972, allocations: 41.7 kB / 458.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/0.2978, allocations: 0.6909 MB / 459.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.298, allocations: 198.3 kB / 459.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.2982, allocations: 122.3 kB / 459.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2983, allocations: 334 kB / 460.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.299, allocations: 357 kB / 460.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.2998, allocations: 0.5248 MB / 461 MB, free: 8.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.3012, allocations: 0.8634 MB / 461.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3012, allocations: 0 / 461.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00189/0.3031, allocations: 1.017 MB / 462.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.3031, allocations: 8 kB / 462.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3031, allocations: 4 kB / 462.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.3031, allocations: 11.94 kB / 462.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/0.3039, allocations: 180 kB / 463 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.304, allocations: 15.94 kB / 463.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.3045, allocations: 87.47 kB / 463.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.3046, allocations: 28.28 kB / 463.2 MB, free: 6.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008205/0.3054, allocations: 0.5208 MB / 463.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.3056, allocations: 95.42 kB / 463.8 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.307, allocations: 0.6888 MB / 464.5 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.307, allocations: 8 kB / 464.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.307, allocations: 0 / 464.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.307, allocations: 15.92 kB / 464.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.3098, allocations: 1.635 MB / 466.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3098, allocations: 4 kB / 466.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.3103, allocations: 103.9 kB / 466.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/0.3107, allocations: 147.2 kB / 466.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.3108, allocations: 23.98 kB / 466.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/0.3141, allocations: 2.74 MB / 469.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3141, allocations: 3.938 kB / 469.1 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.3166, allocations: 1.474 MB / 470.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.3169, allocations: 115.3 kB / 470.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.317, allocations: 19.98 kB / 470.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.3176, allocations: 63.88 kB / 470.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.3177, allocations: 51.91 kB / 470.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.3177, allocations: 15.98 kB / 470.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.3188, allocations: 0.7331 MB / 471.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3188, allocations: 0 / 471.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001024/0.3198, allocations: 366.8 kB / 472 MB, free: 13.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002422/0.32, allocations: 135.5 kB / 472.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.3214, allocations: 0.7676 MB / 472.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3214, allocations: 0 / 472.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3225, allocations: 0.5717 MB / 473.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009666/0.3235, allocations: 184 kB / 473.6 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.328, allocations: 2.812 MB / 476.4 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.3291, allocations: 1.461 MB / 477.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.3294, allocations: 63.42 kB / 478 MB, free: 7.582 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3294, allocations: 0 / 478 MB, free: 7.582 MB / 382.1 MB Notification: Performance of Templates: time 0.0283/0.3577, allocations: 19.84 MB / 497.8 MB, free: 3.809 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.636705692159012]