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.00123/0.00123, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001396/0.001396, allocations: 157.5 kB / 25.44 MB, free: 9.352 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.9032/0.9032, allocations: 158.6 MB / 187.2 MB, free: 3.051 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 2.495e-06/2.495e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.678e-05/3.927e-05, allocations: 5.938 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.007872/0.007912, allocations: 8.631 MB / 308.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006311/0.01422, allocations: 3.218 MB / 311.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.01538, allocations: 71.62 kB / 311.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004356/0.01973, allocations: 3.791 MB / 315.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.02255, allocations: 1.438 MB / 316.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.02406, allocations: 1.118 MB / 318 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007624/0.03168, allocations: 9.501 MB / 327.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.04545, allocations: 12.86 MB / 340.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00993/0.05538, allocations: 7.505 MB / 347.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008845/0.06422, allocations: 5.505 MB / 353.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1897/0.2539, allocations: 1.396 MB / 354.8 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/0.2584, allocations: 1.632 MB / 356.4 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001984/0.2604, allocations: 2.98 MB / 359.4 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005049/0.2655, allocations: 3.681 MB / 363 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.2783, allocations: 19.02 MB / 382.1 MB, free: 26.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2783, allocations: 3.984 kB / 382.1 MB, free: 26.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2783, allocations: 0 / 382.1 MB, free: 26.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000338/0.2786, allocations: 0 / 382.1 MB, free: 26.91 MB / 330.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.02053/0.2991, allocations: 12.3 MB / 394.4 MB, free: 19.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.2992, allocations: 11.08 kB / 394.4 MB, free: 19.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02156/0.3208, allocations: 8.546 MB / 402.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/0.3295, allocations: 5.503 MB / 408.4 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.3299, allocations: 0.663 MB / 409.1 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/0.3331, allocations: 0.8621 MB / 410 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.3623, allocations: 16.23 MB / 426.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/0.3625, allocations: 7.953 kB / 426.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/0.3641, allocations: 369.8 kB / 426.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004279/0.3646, allocations: 0.5582 MB / 427.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02431/0.3889, allocations: 15.63 MB / 442.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05961/0.4485, allocations: 41.67 MB / 484.4 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009682/0.4582, allocations: 8.431 MB / 492.8 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/0.4615, allocations: 3.236 MB / 496.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.4617, allocations: 87.94 kB / 496.2 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.4618, allocations: 92.97 kB / 496.3 MB, free: 14.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=468): time 6.192e-06/0.4618, allocations: 3.938 kB / 496.3 MB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=468): time 0.0142/0.476, allocations: 11.06 MB / 0.4954 GB, free: 3.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.476, allocations: 128.6 kB / 0.4956 GB, free: 3.777 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004998/0.481, allocations: 3.968 MB / 0.4994 GB, free: 15.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003228/0.4814, allocations: 101.7 kB / 0.4995 GB, free: 15.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.4833, allocations: 4.012 MB / 0.5034 GB, free: 11.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00122/0.4845, allocations: 1.666 MB / 0.5051 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/0.4863, allocations: 1.461 MB / 0.5065 GB, free: 8.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.4864, allocations: 301.1 kB / 0.5068 GB, free: 8.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/0.4904, allocations: 3.688 MB / 0.5104 GB, free: 4.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1877/0.6781, allocations: 6.525 MB / 0.5168 GB, free: 134.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/0.691, allocations: 10.83 MB / 0.5273 GB, free: 129.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/0.6911, allocations: 31.25 kB / 0.5274 GB, free: 129.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01515/0.7063, allocations: 11.92 MB / 0.539 GB, free: 125.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.7063, allocations: 43.41 kB / 0.539 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/0.7065, allocations: 96.7 kB / 0.5391 GB, free: 125.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/0.7091, allocations: 1.618 MB / 0.5407 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.7123, allocations: 1.668 MB / 0.5423 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.7227, allocations: 16.7 MB / 0.5587 GB, free: 113.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/0.7266, allocations: 0.9734 MB / 0.5596 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/0.7271, allocations: 361.9 kB / 0.5599 GB, free: 112.8 MB / 442.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.004829/0.7319, allocations: 3.757 MB / 0.5636 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.7325, allocations: 409.3 kB / 0.564 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008062/0.7405, allocations: 8.524 MB / 0.5723 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.7405, allocations: 51.89 kB / 0.5724 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/0.7406, allocations: 12 kB / 0.5724 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.7406, allocations: 23.25 kB / 0.5724 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.7559, allocations: 14.85 MB / 0.5869 GB, free: 88.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.7559, allocations: 4 kB / 0.5869 GB, free: 88.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.7576, allocations: 0.8581 MB / 0.5878 GB, free: 87.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.7599, allocations: 1.518 MB / 0.5892 GB, free: 85.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/0.7601, allocations: 103.9 kB / 0.5893 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008954/0.7691, allocations: 16.52 MB / 0.6055 GB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7691, allocations: 0 / 0.6055 GB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.7793, allocations: 12.2 MB / 0.6174 GB, free: 56.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/0.7808, allocations: 1.081 MB / 0.6184 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.7812, allocations: 84 kB / 0.6185 GB, free: 55.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.7824, allocations: 311.7 kB / 0.6188 GB, free: 54.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004415/0.7829, allocations: 331.4 kB / 0.6191 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.7831, allocations: 143.9 kB / 0.6193 GB, free: 54.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002551/0.7856, allocations: 2.538 MB / 0.6218 GB, free: 51.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7856, allocations: 1.125 kB / 0.6218 GB, free: 51.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005568/0.7912, allocations: 2.403 MB / 0.6241 GB, free: 49.45 MB / 442.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.0005288/0.7917, allocations: 263.2 kB / 0.6244 GB, free: 49.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009271/0.801, allocations: 8.989 MB / 0.6331 GB, free: 40.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.801, allocations: 0 / 0.6331 GB, free: 40.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003708/0.8047, allocations: 4.164 MB / 0.6372 GB, free: 35.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.8071, allocations: 0.7083 MB / 0.6379 GB, free: 35.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.8268, allocations: 17.07 MB / 0.6546 GB, free: 17.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003779/0.8306, allocations: 5.47 MB / 0.6599 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/0.8323, allocations: 428.4 kB / 0.6603 GB, free: 12.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.482e-06/0.8323, allocations: 0 / 0.6603 GB, free: 12.06 MB / 442.7 MB Notification: Performance of Templates: time 0.761/1.593, allocations: 420.3 MB / 1.071 GB, free: 148.6 MB / 474.7 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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: 10.679380840621889]