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.00265/0.00265, allocations: 95.55 kB / 21.73 MB, free: 2.684 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.002983/0.002983, allocations: 162.6 kB / 25.02 MB, free: 7.91 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 1.42/1.42, allocations: 158.6 MB / 186.8 MB, free: 2.859 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 250.4 MB, free: 3.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.32e-05, allocations: 2.312 kB / 250.4 MB, free: 3.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01381/0.01383, allocations: 9.581 MB / 260 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00772/0.02155, allocations: 3.3 MB / 263.3 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.02284, allocations: 71.62 kB / 263.3 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.03306, allocations: 4.088 MB / 267.4 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.03753, allocations: 1.442 MB / 268.9 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.04058, allocations: 1.133 MB / 270 MB, free: 96 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.05312, allocations: 9.511 MB / 279.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02165/0.07477, allocations: 12.86 MB / 292.4 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01516/0.08993, allocations: 7.571 MB / 299.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1583/0.2482, allocations: 6.017 MB / 305.9 MB, free: 30.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008538/0.2568, allocations: 1.395 MB / 307.3 MB, free: 30.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008535/0.2653, allocations: 1.626 MB / 309 MB, free: 30.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007034/0.2723, allocations: 3.024 MB / 312 MB, free: 30.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01412/0.2865, allocations: 3.717 MB / 315.7 MB, free: 29.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02206/0.3085, allocations: 19.15 MB / 334.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3085, allocations: 2.844 kB / 334.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3085, allocations: 0 / 334.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0006922/0.3092, allocations: 0 / 334.9 MB, free: 19.17 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.04118/0.3504, allocations: 14.02 MB / 348.9 MB, free: 8.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.3505, allocations: 15.98 kB / 348.9 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04955/0.4, allocations: 10.17 MB / 359.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/0.4179, allocations: 4.886 MB / 364 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.4189, allocations: 0.6627 MB / 364.6 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005046/0.424, allocations: 0.8675 MB / 365.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05284/0.4768, allocations: 16.21 MB / 381.7 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004283/0.4772, allocations: 11.95 kB / 381.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003735/0.481, allocations: 369.5 kB / 382.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008015/0.4818, allocations: 0.5543 MB / 382.6 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03895/0.5207, allocations: 13.82 MB / 396.4 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2834/0.8041, allocations: 71.27 MB / 467.7 MB, free: 79.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.8182, allocations: 7.766 MB / 475.5 MB, free: 79.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00431/0.8225, allocations: 2.73 MB / 478.2 MB, free: 78.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.8229, allocations: 115.6 kB / 478.3 MB, free: 78.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/0.823, allocations: 88.62 kB / 478.4 MB, free: 78.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=468): time 8.336e-06/0.823, allocations: 0 / 478.4 MB, free: 78.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=468): time 0.02135/0.8444, allocations: 9.731 MB / 488.1 MB, free: 74.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.8444, allocations: 125.1 kB / 488.3 MB, free: 74.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/0.8549, allocations: 5.986 MB / 494.2 MB, free: 68.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001304/0.8562, allocations: 101.7 kB / 494.3 MB, free: 68.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00342/0.8596, allocations: 4.576 MB / 498.9 MB, free: 63.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002538/0.8621, allocations: 1.797 MB / 0.489 GB, free: 61.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003087/0.8652, allocations: 1.931 MB / 0.4909 GB, free: 59.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8653, allocations: 476.8 kB / 0.4913 GB, free: 59.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/0.8701, allocations: 2.985 MB / 0.4942 GB, free: 56.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006947/0.877, allocations: 7.491 MB / 0.5016 GB, free: 47.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.8891, allocations: 11.43 MB / 0.5127 GB, free: 33.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001685/0.8893, allocations: 32 kB / 0.5128 GB, free: 33.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02104/0.9103, allocations: 10.94 MB / 0.5234 GB, free: 22.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.739e-05/0.9104, allocations: 44 kB / 0.5235 GB, free: 22.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/0.9106, allocations: 96 kB / 0.5236 GB, free: 22.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006056/0.9167, allocations: 1.876 MB / 0.5254 GB, free: 20.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007289/0.924, allocations: 1.669 MB / 0.527 GB, free: 19.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.9431, allocations: 20.2 MB / 0.5468 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00777/0.9509, allocations: 0.9665 MB / 0.5477 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/0.9528, allocations: 360 kB / 0.548 GB, free: 12.93 MB / 378.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.01035/0.9631, allocations: 3.442 MB / 0.5514 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/0.9649, allocations: 0.5404 MB / 0.5519 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/0.9826, allocations: 7.418 MB / 0.5592 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/0.9826, allocations: 48 kB / 0.5592 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-05/0.9827, allocations: 12 kB / 0.5592 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.28e-05/0.9828, allocations: 23.91 kB / 0.5593 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2665/1.249, allocations: 17.58 MB / 0.5764 GB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/1.249, allocations: 2.188 kB / 0.5764 GB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004885/1.254, allocations: 0.8585 MB / 0.5773 GB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007835/1.262, allocations: 1.762 MB / 0.579 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001242/1.263, allocations: 100.8 kB / 0.5791 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/1.283, allocations: 20.01 MB / 0.5986 GB, free: 99.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.283, allocations: 7.375 kB / 0.5986 GB, free: 99.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/1.303, allocations: 10.4 MB / 0.6088 GB, free: 98.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003717/1.306, allocations: 0.9514 MB / 0.6097 GB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009783/1.307, allocations: 84.94 kB / 0.6098 GB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.31, allocations: 306.6 kB / 0.6101 GB, free: 98.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008188/1.311, allocations: 336.4 kB / 0.6104 GB, free: 98.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/1.311, allocations: 139 kB / 0.6105 GB, free: 98.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003941/1.315, allocations: 2.831 MB / 0.6133 GB, free: 97.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.315, allocations: 0 / 0.6133 GB, free: 97.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008594/1.324, allocations: 2.409 MB / 0.6157 GB, free: 96.52 MB / 394.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.0009797/1.325, allocations: 254.4 kB / 0.6159 GB, free: 96.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01395/1.338, allocations: 8.943 MB / 0.6246 GB, free: 92.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.338, allocations: 3.938 kB / 0.6246 GB, free: 92.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006745/1.345, allocations: 4.298 MB / 0.6288 GB, free: 90.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/1.35, allocations: 0.7447 MB / 0.6296 GB, free: 90.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/1.381, allocations: 15.69 MB / 0.6449 GB, free: 78.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008761/1.389, allocations: 4.979 MB / 0.6497 GB, free: 73.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008836/1.398, allocations: 2.805 MB / 0.6525 GB, free: 70.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/1.401, allocations: 376.4 kB / 0.6528 GB, free: 69.86 MB / 394.7 MB Notification: Performance of SimCode: time 2.695e-06/1.401, allocations: 2.406 kB / 0.6528 GB, free: 69.86 MB / 394.7 MB Notification: Performance of Templates: time 0.09854/1.499, allocations: 61.27 MB / 0.7127 GB, free: 8.629 MB / 394.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=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","/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: 8.366181169985794]