Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.0009753/0.0009753, allocations: 85.95 kB / 23 MB, free: 1.5 MB / 18.57 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.001009/0.001009, allocations: 171.7 kB / 26.39 MB, free: 7.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8796/0.8796, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.543e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01436/0.01439, allocations: 9.309 MB / 261.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.01925, allocations: 3.307 MB / 264.9 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007745/0.02002, allocations: 71.62 kB / 265 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.02381, allocations: 3.974 MB / 268.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.02579, allocations: 1.434 MB / 270.4 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.027, allocations: 1.114 MB / 271.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00583/0.03283, allocations: 9.532 MB / 281 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.04447, allocations: 12.85 MB / 293.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006022/0.05049, allocations: 7.563 MB / 301.4 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005173/0.05566, allocations: 6.27 MB / 307.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.05733, allocations: 1.398 MB / 309.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.05929, allocations: 1.628 MB / 310.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.06087, allocations: 3.024 MB / 313.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00316/0.06403, allocations: 3.712 MB / 317.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006804/0.07084, allocations: 9.693 MB / 327.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.07084, allocations: 0 / 327.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07084, allocations: 0 / 327.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.07097, allocations: 0 / 327.1 MB, free: 12.02 MB / 314.7 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.01511/0.08608, allocations: 12.13 MB / 339.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.08611, allocations: 15.98 kB / 339.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02538/0.1115, allocations: 7.37 MB / 346.7 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007235/0.1187, allocations: 4.383 MB / 351 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/0.1192, allocations: 0.6662 MB / 351.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/0.1216, allocations: 0.871 MB / 352.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2076/0.3292, allocations: 7.811 MB / 360.4 MB, free: 74.63 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/0.3294, allocations: 4 kB / 360.4 MB, free: 74.63 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.3304, allocations: 369.7 kB / 360.8 MB, free: 74.63 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003326/0.3308, allocations: 0.5529 MB / 361.3 MB, free: 74.61 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008175/0.339, allocations: 3.939 MB / 365.2 MB, free: 74.35 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.3761, allocations: 36.32 MB / 401.6 MB, free: 49.21 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/0.3813, allocations: 5.235 MB / 406.8 MB, free: 44.54 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.3824, allocations: 1.153 MB / 408 MB, free: 43.43 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.3826, allocations: 123.2 kB / 408.1 MB, free: 43.31 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.3827, allocations: 89.05 kB / 408.2 MB, free: 43.21 MB / 330.8 MB Notification: Performance of pre-optimization done (n=468): time 6.081e-06/0.3827, allocations: 0 / 408.2 MB, free: 43.21 MB / 330.8 MB Notification: Performance of matching and sorting (n=468): time 0.00812/0.3908, allocations: 5.409 MB / 413.6 MB, free: 37.84 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3908, allocations: 125.1 kB / 413.7 MB, free: 37.7 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.3941, allocations: 3.77 MB / 417.5 MB, free: 34.52 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004574/0.3945, allocations: 101.7 kB / 417.6 MB, free: 34.42 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.3962, allocations: 4.361 MB / 421.9 MB, free: 30.71 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.3972, allocations: 1.752 MB / 423.7 MB, free: 29.05 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/0.3986, allocations: 1.69 MB / 425.4 MB, free: 27.49 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.3987, allocations: 480.7 kB / 425.8 MB, free: 27.02 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009655/0.3997, allocations: 0.8612 MB / 426.7 MB, free: 26.16 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.4017, allocations: 5.198 MB / 431.9 MB, free: 19.4 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.4056, allocations: 6.759 MB / 438.7 MB, free: 11.39 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.555e-05/0.4056, allocations: 24 kB / 438.7 MB, free: 11.36 MB / 330.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.007034/0.4127, allocations: 6.273 MB / 445 MB, free: 5.656 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.4127, allocations: 44 kB / 445 MB, free: 5.613 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.64e-05/0.4128, allocations: 92 kB / 445.1 MB, free: 5.523 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002999/0.4158, allocations: 1.454 MB / 446.5 MB, free: 4.059 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/0.419, allocations: 1.517 MB / 448.1 MB, free: 2.66 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.4294, allocations: 15.26 MB / 463.3 MB, free: 2.961 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/0.4339, allocations: 0.7949 MB / 464.1 MB, free: 2.16 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/0.4347, allocations: 304 kB / 464.4 MB, free: 1.863 MB / 346.8 MB 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.002309/0.437, allocations: 0.6439 MB / 465.1 MB, free: 1.246 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007763/0.4378, allocations: 0.5443 MB / 465.6 MB, free: 0.6992 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008051/0.4459, allocations: 4.416 MB / 470 MB, free: 12.21 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/0.4459, allocations: 48 kB / 470.1 MB, free: 12.16 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/0.4459, allocations: 12 kB / 470.1 MB, free: 12.15 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.704e-05/0.446, allocations: 23.91 kB / 470.1 MB, free: 12.13 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/0.4668, allocations: 11.25 MB / 481.3 MB, free: 1.703 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.4668, allocations: 4 kB / 481.4 MB, free: 1.699 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/0.4694, allocations: 0.7139 MB / 482.1 MB, free: 0.9844 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/0.4735, allocations: 1.334 MB / 483.4 MB, free: 15.63 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003398/0.4738, allocations: 108 kB / 483.5 MB, free: 15.53 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.143/0.6168, allocations: 15.06 MB / 498.6 MB, free: 93.97 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.6168, allocations: 2.719 kB / 498.6 MB, free: 93.97 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00811/0.6249, allocations: 5.135 MB / 0.4919 GB, free: 93.16 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003928/0.6288, allocations: 0.8387 MB / 0.4927 GB, free: 93.16 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009205/0.6297, allocations: 84.66 kB / 0.4928 GB, free: 93.16 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.6316, allocations: 137.7 kB / 0.4929 GB, free: 93.16 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007597/0.6324, allocations: 332.2 kB / 0.4932 GB, free: 93.16 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/0.6326, allocations: 105.2 kB / 0.4933 GB, free: 93.16 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001957/0.6346, allocations: 1.468 MB / 0.4948 GB, free: 92.97 MB / 378.8 MB Notification: Performance of sort global known variables: time 2e-07/0.6346, allocations: 5.656 kB / 0.4948 GB, free: 92.97 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00606/0.6407, allocations: 2.407 MB / 0.4971 GB, free: 92.7 MB / 378.8 MB 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.0005898/0.6412, allocations: 257.2 kB / 0.4974 GB, free: 92.61 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006266/0.6475, allocations: 5.273 MB / 0.5025 GB, free: 91.34 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.6475, allocations: 2.125 kB / 0.5025 GB, free: 91.34 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.6508, allocations: 2.937 MB / 0.5054 GB, free: 90.18 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.6535, allocations: 0.7401 MB / 0.5061 GB, free: 90.15 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.6718, allocations: 13.42 MB / 0.5192 GB, free: 84.57 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/0.6749, allocations: 2.524 MB / 0.5217 GB, free: 83.34 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.00293/0.6778, allocations: 0.7598 MB / 0.5224 GB, free: 82.82 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/0.6794, allocations: 0.9364 MB / 0.5234 GB, free: 82.02 MB / 378.8 MB Notification: Performance of SimCode: time 1.653e-06/0.6794, allocations: 3.656 kB / 0.5234 GB, free: 82.02 MB / 378.8 MB Notification: Performance of Templates: time 0.08176/0.7612, allocations: 67.97 MB / 0.5897 GB, free: 19.03 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","",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.344690419733524]