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.000793/0.000793, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.001969, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007156/0.0007156, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009446/0.00166, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9727/0.9727, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2128/1.186, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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 2.074e-06/2.074e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.467e-05/3.674e-05, allocations: 2.312 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01136/0.01139, allocations: 9.429 MB / 231.4 MB, free: 6.566 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007484/0.01888, allocations: 3.462 MB / 234.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009172/0.01979, allocations: 75.62 kB / 235 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005988/0.02578, allocations: 4.083 MB / 239 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.02899, allocations: 1.422 MB / 240.5 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.03103, allocations: 1.121 MB / 241.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009208/0.04024, allocations: 9.562 MB / 251.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01729/0.05753, allocations: 12.82 MB / 264 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/0.0683, allocations: 7.792 MB / 271.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008012/0.07631, allocations: 6.325 MB / 278.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003044/0.07935, allocations: 1.398 MB / 279.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.08302, allocations: 1.644 MB / 281.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002805/0.08583, allocations: 2.358 MB / 283.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1991/0.2849, allocations: 3.046 MB / 286.5 MB, free: 25.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02019/0.3051, allocations: 9.091 MB / 295.6 MB, free: 24.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.727e-05/0.3051, allocations: 0 / 295.6 MB, free: 24.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3051, allocations: 0 / 295.6 MB, free: 24.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0008853/0.306, allocations: 0 / 295.6 MB, free: 24.43 MB / 282.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.0352/0.3412, allocations: 13.01 MB / 308.6 MB, free: 21.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3413, allocations: 10.88 kB / 308.6 MB, free: 21.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02768/0.3689, allocations: 8.015 MB / 316.7 MB, free: 20.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.3797, allocations: 2.571 MB / 319.2 MB, free: 19.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006028/0.3803, allocations: 0.6667 MB / 319.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004471/0.3848, allocations: 0.8687 MB / 320.8 MB, free: 17.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/0.4148, allocations: 7.993 MB / 328.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.4151, allocations: 15.77 kB / 328.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001824/0.4169, allocations: 370.3 kB / 329.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003849/0.4173, allocations: 0.5231 MB / 329.7 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02793/0.4452, allocations: 4.425 MB / 334.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06285/0.5081, allocations: 27.92 MB / 362 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00604/0.5141, allocations: 4.536 MB / 366.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.5154, allocations: 0.9743 MB / 367.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.5157, allocations: 119.9 kB / 367.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.5157, allocations: 90.41 kB / 367.7 MB, free: 4.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=468): time 6.562e-06/0.5157, allocations: 0 / 367.7 MB, free: 4.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=468): time 0.01018/0.5259, allocations: 4.496 MB / 372.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.526, allocations: 125.1 kB / 372.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.5292, allocations: 2.426 MB / 374.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006145/0.5299, allocations: 97.7 kB / 374.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.5315, allocations: 3.793 MB / 378.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/0.533, allocations: 1.668 MB / 380.3 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.5345, allocations: 1.324 MB / 381.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.5345, allocations: 305.1 kB / 381.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.5359, allocations: 1.079 MB / 383 MB, free: 5.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.5383, allocations: 3.583 MB / 386.6 MB, free: 1.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005653/0.544, allocations: 5.564 MB / 392.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.833e-05/0.5441, allocations: 28 kB / 392.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008495/0.5526, allocations: 5.203 MB / 397.4 MB, free: 5.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.5526, allocations: 44 kB / 397.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.632e-05/0.5527, allocations: 96 kB / 397.5 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002946/0.5557, allocations: 1.401 MB / 398.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/0.56, allocations: 1.7 MB / 400.6 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.5688, allocations: 10.87 MB / 411.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/0.5738, allocations: 0.7871 MB / 412.3 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/0.5751, allocations: 295.9 kB / 412.6 MB, free: 6.555 MB / 362.7 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.003495/0.5786, allocations: 0.5994 MB / 413.2 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007362/0.5794, allocations: 375.7 kB / 413.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005421/0.5848, allocations: 3.712 MB / 417.2 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.5848, allocations: 51.5 kB / 417.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.02e-05/0.5848, allocations: 12 kB / 417.3 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.5849, allocations: 27.91 kB / 417.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.6007, allocations: 8.57 MB / 425.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.6007, allocations: 4 kB / 425.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/0.6027, allocations: 0.8154 MB / 426.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/0.6045, allocations: 0.6212 MB / 427.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.6074, allocations: 1.272 MB / 428.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002928/0.6076, allocations: 91.97 kB / 428.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2088/0.8165, allocations: 10.62 MB / 439.3 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.152e-05/0.8165, allocations: 3.594 kB / 439.3 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.8269, allocations: 4.309 MB / 443.6 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/0.828, allocations: 89.28 kB / 443.7 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.8297, allocations: 128.2 kB / 443.9 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007686/0.8305, allocations: 325.5 kB / 444.2 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/0.8307, allocations: 94.86 kB / 444.3 MB, free: 104.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002235/0.833, allocations: 1.037 MB / 445.3 MB, free: 104.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.833, allocations: 3.156 kB / 445.3 MB, free: 104.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008054/0.841, allocations: 2.403 MB / 447.7 MB, free: 104.3 MB / 378.7 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.0007424/0.8418, allocations: 248.1 kB / 447.9 MB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008303/0.8501, allocations: 4.431 MB / 452.4 MB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004119/0.8505, allocations: 111.5 kB / 452.5 MB, free: 103.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004553/0.855, allocations: 2.738 MB / 455.2 MB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005704/0.8607, allocations: 5.37 MB / 460.6 MB, free: 98.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05926/0.92, allocations: 13.96 MB / 474.6 MB, free: 90.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/0.9239, allocations: 1.812 MB / 476.4 MB, free: 89.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003015/0.9269, allocations: 0.6914 MB / 477.1 MB, free: 89.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.9283, allocations: 0.7485 MB / 477.8 MB, free: 88.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.925e-06/0.9283, allocations: 0 / 477.8 MB, free: 88.36 MB / 378.7 MB Notification: Performance of Templates: time 0.1011/1.029, allocations: 67.8 MB / 0.5328 GB, free: 22.84 MB / 378.7 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03209487721324]