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.00562/0.00562, allocations: 94.58 kB / 21.93 MB, free: 5.207 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.001516/0.001516, allocations: 210.8 kB / 25.22 MB, free: 3.145 MB / 14.72 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 1.479/1.479, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003148/0.003148, allocations: 54.58 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3161, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009517/0.3256, allocations: 8.624 MB / 406.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007226/0.3328, allocations: 3.225 MB / 409.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.3356, allocations: 73.56 kB / 409.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009326/0.3449, allocations: 3.587 MB / 413.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.3506, allocations: 1.413 MB / 414.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.3539, allocations: 1.107 MB / 415.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.3664, allocations: 9.224 MB / 424.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02203/0.3884, allocations: 12.82 MB / 437.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009248/0.3977, allocations: 5.179 MB / 442.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.4086, allocations: 6.036 MB / 448.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004249/0.4129, allocations: 1.398 MB / 450.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007558/0.4204, allocations: 1.617 MB / 451.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007237/0.4277, allocations: 2.93 MB / 454.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.4397, allocations: 4.265 MB / 459.1 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0249/0.4646, allocations: 18.83 MB / 477.9 MB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4646, allocations: 0 / 477.9 MB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4646, allocations: 0 / 477.9 MB, free: 2.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005117/0.4652, allocations: 0 / 477.9 MB, free: 2.551 MB / 382.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.04002/0.5052, allocations: 12.39 MB / 490.3 MB, free: 6.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5052, allocations: 11.98 kB / 490.3 MB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04977/0.555, allocations: 8.546 MB / 498.9 MB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.5693, allocations: 5.501 MB / 0.4926 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008743/0.5702, allocations: 0.6623 MB / 0.4932 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004032/0.5742, allocations: 0.8632 MB / 0.4941 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04562/0.6199, allocations: 16.23 MB / 0.5099 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004828/0.6203, allocations: 11.95 kB / 0.5099 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003639/0.624, allocations: 368 kB / 0.5103 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007257/0.6247, allocations: 0.5582 MB / 0.5108 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0362/0.6609, allocations: 15.64 MB / 0.5261 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4645/1.125, allocations: 41.64 MB / 0.5667 GB, free: 116.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/1.141, allocations: 8.416 MB / 0.575 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004974/1.146, allocations: 3.247 MB / 0.5781 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/1.146, allocations: 88.03 kB / 0.5782 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/1.146, allocations: 88.42 kB / 0.5783 GB, free: 116.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 8.266e-06/1.146, allocations: 0 / 0.5783 GB, free: 116.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02188/1.168, allocations: 11.07 MB / 0.5891 GB, free: 114.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/1.168, allocations: 128 kB / 0.5892 GB, free: 114.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005041/1.173, allocations: 3.966 MB / 0.5931 GB, free: 113.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006693/1.174, allocations: 100.5 kB / 0.5932 GB, free: 113 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/1.176, allocations: 4.035 MB / 0.5971 GB, free: 110.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001428/1.177, allocations: 1.692 MB / 0.5988 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/1.179, allocations: 1.472 MB / 0.6002 GB, free: 108.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/1.179, allocations: 304.9 kB / 0.6005 GB, free: 108.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004459/1.184, allocations: 3.689 MB / 0.6041 GB, free: 107.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/1.19, allocations: 6.521 MB / 0.6105 GB, free: 101.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.2, allocations: 10.83 MB / 0.6211 GB, free: 93.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/1.2, allocations: 27.59 kB / 0.6211 GB, free: 93.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01977/1.22, allocations: 11.92 MB / 0.6327 GB, free: 81.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/1.22, allocations: 44 kB / 0.6328 GB, free: 81.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/1.22, allocations: 100.2 kB / 0.6329 GB, free: 81.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004462/1.225, allocations: 1.625 MB / 0.6345 GB, free: 79.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005828/1.231, allocations: 1.669 MB / 0.6361 GB, free: 78.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.246, allocations: 16.7 MB / 0.6524 GB, free: 60.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006056/1.252, allocations: 0.9743 MB / 0.6534 GB, free: 59.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.253, allocations: 360 kB / 0.6537 GB, free: 59.62 MB / 478.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.006456/1.26, allocations: 3.754 MB / 0.6574 GB, free: 55.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008316/1.26, allocations: 409.3 kB / 0.6578 GB, free: 55.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.273, allocations: 8.529 MB / 0.6661 GB, free: 46.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/1.273, allocations: 48 kB / 0.6661 GB, free: 46.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/1.273, allocations: 12 kB / 0.6661 GB, free: 46.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.015e-05/1.273, allocations: 23.91 kB / 0.6662 GB, free: 46.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02608/1.299, allocations: 14.86 MB / 0.6807 GB, free: 31.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.299, allocations: 4 kB / 0.6807 GB, free: 31.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.302, allocations: 0.8581 MB / 0.6815 GB, free: 31.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/1.306, allocations: 1.515 MB / 0.683 GB, free: 29.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000757/1.307, allocations: 104 kB / 0.6831 GB, free: 29.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.322, allocations: 16.53 MB / 0.6992 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.322, allocations: 0 / 0.6992 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/1.338, allocations: 12.2 MB / 0.7112 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003819/1.342, allocations: 1.074 MB / 0.7122 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.343, allocations: 91.92 kB / 0.7123 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002806/1.346, allocations: 299.6 kB / 0.7126 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008015/1.347, allocations: 335.4 kB / 0.7129 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003241/1.347, allocations: 140 kB / 0.713 GB, free: 13.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004557/1.352, allocations: 2.534 MB / 0.7155 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.352, allocations: 3.938 kB / 0.7155 GB, free: 11.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009096/1.361, allocations: 2.407 MB / 0.7179 GB, free: 8.965 MB / 494.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.001161/1.362, allocations: 263.5 kB / 0.7181 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01832/1.38, allocations: 8.982 MB / 0.7269 GB, free: 15.61 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.38, allocations: 7.938 kB / 0.7269 GB, free: 15.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.009203/1.389, allocations: 4.176 MB / 0.731 GB, free: 11.34 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/1.395, allocations: 0.7187 MB / 0.7317 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04161/1.437, allocations: 17.15 MB / 0.7484 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/1.448, allocations: 5.47 MB / 0.7538 GB, free: 3.875 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00227/1.45, allocations: 427.3 kB / 0.7542 GB, free: 3.461 MB / 0.5138 GB Notification: Performance of SimCode: time 2.324e-06/1.45, allocations: 0 / 0.7542 GB, free: 3.461 MB / 0.5138 GB Notification: Performance of Templates: time 1.006/2.456, allocations: 420.4 MB / 1.165 GB, free: 182.6 MB / 0.545 GB " [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/jenkins1/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/jenkins1/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: 17.602448869962245]