Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 88.48 kB / 20.95 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 152.9 kB / 24.25 MB, free: 3.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.521e-05/3.714e-05, allocations: 2.312 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01197/0.012, allocations: 8.717 MB / 276 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.007621/0.01962, allocations: 3.209 MB / 279.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.0213, allocations: 87.62 kB / 279.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009509/0.03081, allocations: 3.783 MB / 283.1 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005116/0.03592, allocations: 1.566 MB / 284.7 MB, free: 8.766 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.03866, allocations: 1.011 MB / 285.7 MB, free: 7.754 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01198/0.05063, allocations: 9.503 MB / 295.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01968/0.07031, allocations: 12.85 MB / 308 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1298/0.2001, allocations: 7.506 MB / 315.6 MB, free: 23.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.2107, allocations: 5.513 MB / 321.1 MB, free: 23.6 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003889/0.2146, allocations: 1.399 MB / 322.5 MB, free: 23.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005994/0.2206, allocations: 1.633 MB / 324.1 MB, free: 23.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004722/0.2253, allocations: 2.979 MB / 327.1 MB, free: 22.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00649/0.2318, allocations: 3.68 MB / 330.8 MB, free: 21.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.2455, allocations: 19.17 MB / 349.9 MB, free: 7.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2455, allocations: 0 / 349.9 MB, free: 7.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2455, allocations: 2.375 kB / 349.9 MB, free: 7.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.00047/0.246, allocations: 3.984 kB / 349.9 MB, free: 7.102 MB / 286.1 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.03349/0.2795, allocations: 12.29 MB / 362.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2795, allocations: 12.92 kB / 362.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05673/0.3363, allocations: 10.14 MB / 372.4 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.3513, allocations: 6.192 MB / 378.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007273/0.352, allocations: 0.6651 MB / 379.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00363/0.3557, allocations: 0.8644 MB / 380.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/0.3946, allocations: 16.23 MB / 396.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003121/0.3949, allocations: 7.953 kB / 396.3 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/0.3969, allocations: 367.8 kB / 396.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006211/0.3975, allocations: 0.5582 MB / 397.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/0.4296, allocations: 15.64 MB / 412.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.316/0.7457, allocations: 42.77 MB / 455.7 MB, free: 98.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/0.7618, allocations: 8.449 MB / 464.1 MB, free: 98.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00489/0.7667, allocations: 3.24 MB / 467.4 MB, free: 98.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/0.7671, allocations: 117.5 kB / 467.5 MB, free: 98.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.489e-05/0.7671, allocations: 90.69 kB / 467.6 MB, free: 98.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=468): time 8.346e-06/0.7672, allocations: 0 / 467.6 MB, free: 98.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=468): time 0.02159/0.7888, allocations: 11.22 MB / 478.8 MB, free: 97.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.7888, allocations: 132 kB / 478.9 MB, free: 97.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005463/0.7943, allocations: 3.969 MB / 482.9 MB, free: 95.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007562/0.795, allocations: 100.7 kB / 483 MB, free: 95.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.7969, allocations: 4.011 MB / 487 MB, free: 93.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.7983, allocations: 1.667 MB / 488.7 MB, free: 92.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002016/0.8003, allocations: 1.462 MB / 490.1 MB, free: 91.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.8003, allocations: 305.1 kB / 490.4 MB, free: 91.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004668/0.805, allocations: 3.687 MB / 494.1 MB, free: 89.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006199/0.8112, allocations: 6.524 MB / 0.4889 GB, free: 85.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.8225, allocations: 10.83 MB / 0.4995 GB, free: 75.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.8226, allocations: 24 kB / 0.4995 GB, free: 75.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01857/0.8411, allocations: 12.27 MB / 0.5115 GB, free: 62.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.8412, allocations: 44 kB / 0.5115 GB, free: 62.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.8413, allocations: 92 kB / 0.5116 GB, free: 62.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/0.8459, allocations: 1.622 MB / 0.5132 GB, free: 61.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005834/0.8517, allocations: 1.669 MB / 0.5148 GB, free: 59.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.8681, allocations: 16.79 MB / 0.5312 GB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/0.8739, allocations: 0.9659 MB / 0.5322 GB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/0.8754, allocations: 364 kB / 0.5325 GB, free: 40.7 MB / 382.1 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.007135/0.8825, allocations: 3.754 MB / 0.5362 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/0.8845, allocations: 0.5404 MB / 0.5367 GB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.899, allocations: 8.526 MB / 0.545 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.388e-05/0.8991, allocations: 48 kB / 0.5451 GB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-05/0.8991, allocations: 12 kB / 0.5451 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/0.8992, allocations: 23.91 kB / 0.5451 GB, free: 27.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02655/0.9257, allocations: 14.86 MB / 0.5596 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.9258, allocations: 0 / 0.5596 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/0.929, allocations: 0.8662 MB / 0.5605 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004458/0.9335, allocations: 1.516 MB / 0.562 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000651/0.9342, allocations: 104 kB / 0.5621 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/0.9531, allocations: 16.57 MB / 0.5782 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9531, allocations: 0 / 0.5782 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1563/1.109, allocations: 12.36 MB / 0.5903 GB, free: 109.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00333/1.113, allocations: 1.078 MB / 0.5914 GB, free: 109.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007066/1.113, allocations: 85.78 kB / 0.5914 GB, free: 109.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002584/1.116, allocations: 305.7 kB / 0.5917 GB, free: 109.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009051/1.117, allocations: 335.3 kB / 0.5921 GB, free: 109.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003232/1.117, allocations: 138.5 kB / 0.5922 GB, free: 109.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004132/1.121, allocations: 2.54 MB / 0.5947 GB, free: 109.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/1.121, allocations: 0 / 0.5947 GB, free: 109.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00685/1.128, allocations: 2.408 MB / 0.597 GB, free: 109.6 MB / 398.1 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.0006264/1.129, allocations: 268 kB / 0.5973 GB, free: 109.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01276/1.142, allocations: 9.003 MB / 0.6061 GB, free: 105.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.142, allocations: 0 / 0.6061 GB, free: 105.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006087/1.148, allocations: 4.171 MB / 0.6101 GB, free: 104 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.151, allocations: 0.7094 MB / 0.6108 GB, free: 103.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/1.175, allocations: 17.35 MB / 0.6278 GB, free: 96.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005463/1.181, allocations: 5.584 MB / 0.6332 GB, free: 91.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007078/1.188, allocations: 3.296 MB / 0.6365 GB, free: 89.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.189, allocations: 375.5 kB / 0.6368 GB, free: 89.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.643e-06/1.189, allocations: 0 / 0.6368 GB, free: 89.57 MB / 398.1 MB Notification: Performance of Templates: time 0.09546/1.285, allocations: 61.33 MB / 0.6967 GB, free: 31.14 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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: 7.700725436210632]