Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001903/0.001903, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002371/0.002371, allocations: 205.3 kB / 23.73 MB, free: 4.379 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 47.92 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2534, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008396/0.2618, allocations: 5.887 MB / 437.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.2666, allocations: 2.16 MB / 439.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.2677, allocations: 51.69 kB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.2689, allocations: 385.5 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.2717, allocations: 0.8356 MB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.2728, allocations: 355.3 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005083/0.2779, allocations: 3.192 MB / 444.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.28, allocations: 1.098 MB / 445.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.2821, allocations: 1.343 MB / 446.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.2849, allocations: 1.65 MB / 448.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008009/0.2857, allocations: 300 kB / 448.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.2869, allocations: 431.9 kB / 449.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.288, allocations: 0.849 MB / 450.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002168/0.2902, allocations: 1.19 MB / 451.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004953/0.2951, allocations: 4.144 MB / 455.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2951, allocations: 3.984 kB / 455.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2951, allocations: 4 kB / 455.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.981e-05/0.2952, allocations: 0 / 455.4 MB, free: 14.73 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.00785/0.303, allocations: 3.47 MB / 458.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3031, allocations: 12.02 kB / 458.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.3074, allocations: 0.7485 MB / 459.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/0.3108, allocations: 1.691 MB / 461.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.311, allocations: 176.9 kB / 461.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003966/0.3114, allocations: 236.1 kB / 461.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005403/0.3168, allocations: 3.429 MB / 465.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.3168, allocations: 3.938 kB / 465.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.3171, allocations: 95.98 kB / 465.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.36e-05/0.3171, allocations: 69.94 kB / 465.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/0.322, allocations: 2.862 MB / 468.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.3371, allocations: 8.024 MB / 476.2 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.3415, allocations: 1.835 MB / 478.1 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.3428, allocations: 0.7623 MB / 478.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004627/0.3474, allocations: 2.051 MB / 480.9 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.3475, allocations: 42.89 kB / 480.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.745e-06/0.3475, allocations: 0 / 480.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008284/0.3558, allocations: 4.139 MB / 485.1 MB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.3558, allocations: 115.2 kB / 485.2 MB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.358, allocations: 1.592 MB / 486.8 MB, free: 14.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.3581, allocations: 45.98 kB / 486.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008996/0.359, allocations: 1.152 MB / 488 MB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.3593, allocations: 372.9 kB / 488.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.3597, allocations: 242.8 kB / 488.6 MB, free: 12.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3599, allocations: 357.9 kB / 488.9 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.361, allocations: 0.6349 MB / 489.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.3624, allocations: 1.019 MB / 490.6 MB, free: 10.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.3649, allocations: 1.692 MB / 492.3 MB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.365, allocations: 4 kB / 492.3 MB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003373/0.3683, allocations: 1.95 MB / 494.2 MB, free: 6.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.3683, allocations: 14.66 kB / 494.2 MB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.3684, allocations: 12 kB / 494.2 MB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.3687, allocations: 129.5 kB / 494.4 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.3701, allocations: 335.6 kB / 494.7 MB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.3733, allocations: 3.163 MB / 497.9 MB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009338/0.3743, allocations: 103.7 kB / 498 MB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3744, allocations: 59.98 kB / 498 MB, free: 2.871 MB / 398.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.001269/0.3756, allocations: 0.8289 MB / 498.8 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.3759, allocations: 155 kB / 499 MB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.3785, allocations: 1.385 MB / 0.4887 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3786, allocations: 8 kB / 0.4887 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3786, allocations: 4.188 kB / 0.4887 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3786, allocations: 11.91 kB / 0.4887 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.3821, allocations: 1.964 MB / 0.4906 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3821, allocations: 0 / 0.4906 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/0.383, allocations: 183.8 kB / 0.4908 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006871/0.3837, allocations: 266.3 kB / 0.491 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.784e-05/0.3838, allocations: 35.97 kB / 0.4911 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006206/0.39, allocations: 5.813 MB / 0.4967 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.39, allocations: 4.219 kB / 0.4967 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004101/0.3941, allocations: 2.56 MB / 0.4992 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.3945, allocations: 174.9 kB / 0.4994 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.3947, allocations: 31.98 kB / 0.4994 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/0.3956, allocations: 95.91 kB / 0.4995 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.3958, allocations: 100.1 kB / 0.4996 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.3959, allocations: 35.98 kB / 0.4997 GB, free: 4.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.3975, allocations: 1.095 MB / 0.5007 GB, free: 3.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3975, allocations: 0 / 0.5007 GB, free: 3.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001482/0.399, allocations: 451.9 kB / 0.5012 GB, free: 3.262 MB / 414.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.000292/0.3992, allocations: 155 kB / 0.5013 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.4022, allocations: 1.679 MB / 0.5029 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4022, allocations: 0 / 0.5029 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.4041, allocations: 1.146 MB / 0.5041 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.4056, allocations: 260.6 kB / 0.5043 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007461/0.413, allocations: 4.743 MB / 0.5089 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.4148, allocations: 1.542 MB / 0.5104 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001089/0.4158, allocations: 443.2 kB / 0.5109 GB, free: 9.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.4161, allocations: 103.4 kB / 0.511 GB, free: 9.035 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4161, allocations: 4 kB / 0.511 GB, free: 9.031 MB / 430.1 MB Notification: Performance of Templates: time 0.03975/0.4559, allocations: 22.53 MB / 0.533 GB, free: 2.828 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.4103844598867]