Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001372/0.001372, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.001468/0.001468, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.891e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007663/0.007692, allocations: 5.915 MB / 330.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.01222, allocations: 2.153 MB / 333.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005464/0.01277, allocations: 52.06 kB / 333.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.01362, allocations: 393.7 kB / 333.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.01572, allocations: 0.862 MB / 334.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.01653, allocations: 366.4 kB / 334.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.02035, allocations: 3.287 MB / 338 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.02193, allocations: 1.079 MB / 339.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.02453, allocations: 1.883 MB / 341 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.02677, allocations: 1.532 MB / 342.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.02726, allocations: 296 kB / 342.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009538/0.02822, allocations: 423.7 kB / 343.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008978/0.02911, allocations: 0.884 MB / 344.1 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.03077, allocations: 1.009 MB / 345.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.03601, allocations: 4.176 MB / 349.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.03602, allocations: 4 kB / 349.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03602, allocations: 0 / 349.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.146e-05/0.03611, allocations: 0 / 349.3 MB, free: 12.71 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.008456/0.04457, allocations: 3.451 MB / 352.7 MB, free: 9.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.0446, allocations: 11.98 kB / 352.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/0.04908, allocations: 0.768 MB / 353.5 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.0524, allocations: 1.674 MB / 355.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.05255, allocations: 169 kB / 355.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.05293, allocations: 240.3 kB / 355.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/0.05886, allocations: 3.441 MB / 359 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.0589, allocations: 3.938 kB / 359 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.05917, allocations: 96 kB / 359.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.403e-05/0.05926, allocations: 83.3 kB / 359.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.06448, allocations: 2.87 MB / 362.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.07915, allocations: 8.059 MB / 370.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/0.08343, allocations: 1.839 MB / 372 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.08473, allocations: 0.7591 MB / 372.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003812/0.08854, allocations: 2.051 MB / 374.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.08858, allocations: 54.73 kB / 374.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 4.689e-06/0.08859, allocations: 3.984 kB / 374.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.008617/0.09721, allocations: 4.13 MB / 379 MB, free: 14.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.09729, allocations: 119.2 kB / 379.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.09956, allocations: 1.592 MB / 380.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.09969, allocations: 53.69 kB / 380.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009156/0.1006, allocations: 1.145 MB / 381.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.1009, allocations: 364.9 kB / 382.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.1013, allocations: 242.8 kB / 382.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1015, allocations: 361.9 kB / 382.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.1027, allocations: 0.631 MB / 383.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.1042, allocations: 1.016 MB / 384.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/0.1069, allocations: 1.698 MB / 386.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.107, allocations: 4 kB / 386.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003781/0.1107, allocations: 1.947 MB / 388.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1108, allocations: 8 kB / 388.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.1108, allocations: 15.94 kB / 388.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/0.1112, allocations: 133.5 kB / 388.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.1125, allocations: 339.5 kB / 388.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.1158, allocations: 3.155 MB / 391.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.1169, allocations: 95.67 kB / 391.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.1171, allocations: 59.98 kB / 391.9 MB, free: 0.8086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001427/0.1185, allocations: 0.829 MB / 392.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.1189, allocations: 155 kB / 392.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.1217, allocations: 1.387 MB / 394.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.1217, allocations: 12 kB / 394.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1217, allocations: 4 kB / 394.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.1217, allocations: 3.984 kB / 394.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.1254, allocations: 1.971 MB / 396.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1254, allocations: 288 / 396.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008954/0.1263, allocations: 183.8 kB / 396.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007504/0.1271, allocations: 266.3 kB / 396.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.1272, allocations: 35.92 kB / 396.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006614/0.1338, allocations: 5.825 MB / 402.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1338, allocations: 4.031 kB / 402.6 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.1383, allocations: 2.542 MB / 405.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.1388, allocations: 182.8 kB / 405.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.139, allocations: 27.98 kB / 405.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/0.1399, allocations: 95.91 kB / 405.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.1401, allocations: 96.25 kB / 405.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.798e-05/0.1402, allocations: 35.98 kB / 405.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.1419, allocations: 1.099 MB / 406.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1419, allocations: 0 / 406.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001516/0.1434, allocations: 447.9 kB / 407.1 MB, free: 1.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003323/0.1438, allocations: 178.2 kB / 407.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.1469, allocations: 1.672 MB / 408.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1469, allocations: 0 / 408.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.149, allocations: 1.154 MB / 410.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.1506, allocations: 261.3 kB / 410.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/0.1584, allocations: 4.558 MB / 414.9 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.1602, allocations: 1.539 MB / 416.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.1614, allocations: 443.2 kB / 416.9 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.1617, allocations: 104.5 kB / 417 MB, free: 7.133 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1617, allocations: 0 / 417 MB, free: 7.133 MB / 382.1 MB Notification: Performance of Templates: time 0.03783/0.1996, allocations: 19.24 MB / 436.2 MB, free: 4.145 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.159837711602449]