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.001748/0.001748, allocations: 107 kB / 19.8 MB, free: 2.5 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.002347/0.002347, allocations: 215.2 kB / 23 MB, free: 5.574 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.406/1.406, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.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|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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 59.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2365, allocations: 53.31 MB / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008377/0.2449, allocations: 6.717 MB / 436.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.2492, allocations: 2.281 MB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.2499, allocations: 43.88 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008345/0.2507, allocations: 389.4 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.2528, allocations: 0.855 MB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.2537, allocations: 358.7 kB / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.2576, allocations: 3.195 MB / 443.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.2592, allocations: 1.101 MB / 444.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.2611, allocations: 1.308 MB / 446 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.2633, allocations: 1.666 MB / 447.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004081/0.2637, allocations: 296 kB / 448 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.2645, allocations: 431.9 kB / 448.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007847/0.2653, allocations: 0.8568 MB / 449.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.267, allocations: 1.466 MB / 450.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.2713, allocations: 4.131 MB / 454.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2713, allocations: 0 / 454.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2713, allocations: 0 / 454.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.293e-05/0.2714, allocations: 0 / 454.9 MB, free: 14.5 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: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.007901/0.2793, allocations: 3.561 MB / 458.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2794, allocations: 8.031 kB / 458.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004119/0.2835, allocations: 0.7602 MB / 459.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.2867, allocations: 1.728 MB / 460.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.2869, allocations: 173 kB / 461.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004181/0.2873, allocations: 232.1 kB / 461.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005665/0.293, allocations: 3.223 MB / 464.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.293, allocations: 4 kB / 464.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/0.2932, allocations: 92 kB / 464.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.181e-05/0.2933, allocations: 75.31 kB / 464.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005055/0.2984, allocations: 2.874 MB / 467.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.3142, allocations: 9.353 MB / 476.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005222/0.3194, allocations: 4.324 MB / 481.2 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3207, allocations: 0.7673 MB / 482 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004868/0.3256, allocations: 3.142 MB / 485.2 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.168e-05/0.3257, allocations: 58.77 kB / 485.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 3.596e-06/0.3257, allocations: 0 / 485.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.01285/0.3385, allocations: 4.284 MB / 489.5 MB, free: 10.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.3386, allocations: 115.2 kB / 489.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.3422, allocations: 1.621 MB / 491.2 MB, free: 8.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.3424, allocations: 45.7 kB / 491.3 MB, free: 8.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.3437, allocations: 1.149 MB / 492.4 MB, free: 7.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005108/0.3442, allocations: 372.9 kB / 492.8 MB, free: 6.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005639/0.3448, allocations: 238.8 kB / 493 MB, free: 6.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.345, allocations: 365.9 kB / 493.4 MB, free: 6.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3468, allocations: 0.6349 MB / 494 MB, free: 5.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.349, allocations: 1.008 MB / 495 MB, free: 4.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.352, allocations: 1.711 MB / 496.7 MB, free: 2.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3521, allocations: 4 kB / 496.7 MB, free: 2.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003646/0.3557, allocations: 1.949 MB / 498.7 MB, free: 0.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.3557, allocations: 12 kB / 498.7 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.3558, allocations: 19.98 kB / 498.7 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.3561, allocations: 121.6 kB / 498.8 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.3574, allocations: 335.6 kB / 499.2 MB, free: 228 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.3608, allocations: 3.43 MB / 0.4908 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3619, allocations: 95.67 kB / 0.4909 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.3621, allocations: 52 kB / 0.491 GB, free: 12.37 MB / 414.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.001411/0.3635, allocations: 0.8371 MB / 0.4918 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.3638, allocations: 166.9 kB / 0.4919 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.3666, allocations: 1.382 MB / 0.4933 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.3666, allocations: 11.94 kB / 0.4933 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3666, allocations: 11.98 kB / 0.4933 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3666, allocations: 3.984 kB / 0.4933 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.3707, allocations: 2.461 MB / 0.4957 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3707, allocations: 0 / 0.4957 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.3716, allocations: 187.8 kB / 0.4959 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/0.3723, allocations: 262.5 kB / 0.4961 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.3724, allocations: 31.98 kB / 0.4962 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006473/0.3788, allocations: 6.255 MB / 0.5023 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.3788, allocations: 7.969 kB / 0.5023 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.3831, allocations: 2.55 MB / 0.5048 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.3837, allocations: 263.9 kB / 0.505 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.3838, allocations: 28 kB / 0.5051 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/0.3847, allocations: 87.89 kB / 0.5051 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.385, allocations: 96.23 kB / 0.5052 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.3851, allocations: 35.98 kB / 0.5053 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001659/0.3867, allocations: 1.132 MB / 0.5064 GB, free: 11.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3867, allocations: 0 / 0.5064 GB, free: 11.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001505/0.3882, allocations: 447.9 kB / 0.5068 GB, free: 11.55 MB / 430.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.0003239/0.3885, allocations: 164.1 kB / 0.507 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.3916, allocations: 1.666 MB / 0.5086 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3916, allocations: 1.75 kB / 0.5086 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.3936, allocations: 1.16 MB / 0.5097 GB, free: 8.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.3952, allocations: 287.6 kB / 0.51 GB, free: 8.215 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008013/0.4032, allocations: 4.76 MB / 0.5146 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.4051, allocations: 2.113 MB / 0.5167 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001205/0.4063, allocations: 455.5 kB / 0.5171 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.4066, allocations: 103.4 kB / 0.5172 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4066, allocations: 0 / 0.5172 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of Templates: time 0.2329/0.6394, allocations: 20.55 MB / 0.5373 GB, free: 100 MB / 446.1 MB " [Timeout remaining time 659] 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.379564728587866]