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.001929/0.001929, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002865/0.002865, allocations: 212 kB / 24.47 MB, free: 3.547 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.535/1.535, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001869/0.001869, allocations: 62.58 kB / 347.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2589, allocations: 49.16 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.008563/0.2675, allocations: 8.627 MB / 405.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.2733, allocations: 3.224 MB / 408.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.2746, allocations: 67.81 kB / 408.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008201/0.2828, allocations: 3.587 MB / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.2872, allocations: 1.412 MB / 413.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.2901, allocations: 1.11 MB / 414.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.3015, allocations: 9.22 MB / 424.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02255/0.324, allocations: 12.83 MB / 436.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/0.3322, allocations: 5.183 MB / 442.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.3426, allocations: 6.024 MB / 448.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003584/0.3461, allocations: 1.398 MB / 449.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005597/0.3517, allocations: 1.621 MB / 451.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00453/0.3563, allocations: 2.926 MB / 454.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008281/0.3645, allocations: 4.269 MB / 458.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02332/0.3879, allocations: 18.84 MB / 477.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3879, allocations: 0 / 477.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3879, allocations: 0 / 477.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004219/0.3883, allocations: 3.938 kB / 477.2 MB, free: 2.512 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.03867/0.427, allocations: 12.37 MB / 489.6 MB, free: 6.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.427, allocations: 11.98 kB / 489.6 MB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05049/0.4775, allocations: 8.546 MB / 498.1 MB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.4918, allocations: 5.497 MB / 0.4918 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007583/0.4925, allocations: 0.6623 MB / 0.4925 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003903/0.4964, allocations: 0.871 MB / 0.4933 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03595/0.5324, allocations: 16.23 MB / 0.5092 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.5326, allocations: 19.88 kB / 0.5092 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/0.5339, allocations: 372 kB / 0.5096 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006251/0.5345, allocations: 0.5543 MB / 0.5101 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03285/0.5674, allocations: 15.63 MB / 0.5254 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4292/0.9966, allocations: 41.63 MB / 0.566 GB, free: 117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1.011, allocations: 8.421 MB / 0.5742 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004769/1.016, allocations: 3.241 MB / 0.5774 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/1.016, allocations: 86.39 kB / 0.5775 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/1.016, allocations: 92.2 kB / 0.5776 GB, free: 116.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 7.474e-06/1.016, allocations: 3.312 kB / 0.5776 GB, free: 116.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02177/1.038, allocations: 11.06 MB / 0.5884 GB, free: 114.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/1.038, allocations: 130.7 kB / 0.5885 GB, free: 114.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004886/1.043, allocations: 3.966 MB / 0.5924 GB, free: 113.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006785/1.044, allocations: 104.6 kB / 0.5925 GB, free: 113.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.045, allocations: 4.035 MB / 0.5964 GB, free: 110.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001641/1.047, allocations: 1.695 MB / 0.5981 GB, free: 109.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/1.049, allocations: 1.47 MB / 0.5995 GB, free: 108.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/1.049, allocations: 304.7 kB / 0.5998 GB, free: 108.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/1.053, allocations: 3.689 MB / 0.6034 GB, free: 107.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/1.058, allocations: 6.517 MB / 0.6098 GB, free: 101.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009473/1.068, allocations: 10.83 MB / 0.6203 GB, free: 93.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.518e-05/1.068, allocations: 27.56 kB / 0.6204 GB, free: 93.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01596/1.084, allocations: 11.92 MB / 0.632 GB, free: 81.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/1.084, allocations: 44 kB / 0.632 GB, free: 81.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.084, allocations: 96 kB / 0.6321 GB, free: 81.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/1.088, allocations: 1.623 MB / 0.6337 GB, free: 79.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005069/1.093, allocations: 1.665 MB / 0.6354 GB, free: 78.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.108, allocations: 16.71 MB / 0.6517 GB, free: 60.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005963/1.114, allocations: 0.9704 MB / 0.6526 GB, free: 59.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.115, allocations: 360 kB / 0.653 GB, free: 59.6 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.005094/1.12, allocations: 3.754 MB / 0.6566 GB, free: 55.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007328/1.121, allocations: 413.3 kB / 0.657 GB, free: 55.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.133, allocations: 8.522 MB / 0.6653 GB, free: 46.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.133, allocations: 51.94 kB / 0.6654 GB, free: 46.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/1.133, allocations: 12 kB / 0.6654 GB, free: 46.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-05/1.133, allocations: 23.91 kB / 0.6654 GB, free: 46.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.16, allocations: 14.85 MB / 0.6799 GB, free: 31.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.16, allocations: 0 / 0.6799 GB, free: 31.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/1.164, allocations: 0.862 MB / 0.6808 GB, free: 30.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004601/1.169, allocations: 1.511 MB / 0.6822 GB, free: 29.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009265/1.17, allocations: 108 kB / 0.6824 GB, free: 29.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.185, allocations: 16.54 MB / 0.6985 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.185, allocations: 160 / 0.6985 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/1.201, allocations: 12.21 MB / 0.7104 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00317/1.205, allocations: 1.082 MB / 0.7115 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008889/1.205, allocations: 91.94 kB / 0.7116 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.208, allocations: 303.7 kB / 0.7119 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000814/1.209, allocations: 335.4 kB / 0.7122 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003428/1.21, allocations: 136 kB / 0.7123 GB, free: 13.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004848/1.214, allocations: 2.534 MB / 0.7148 GB, free: 11.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.214, allocations: 0 / 0.7148 GB, free: 11.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00946/1.224, allocations: 2.407 MB / 0.7171 GB, free: 8.934 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.001368/1.225, allocations: 266.4 kB / 0.7174 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01842/1.244, allocations: 8.988 MB / 0.7262 GB, free: 15.56 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.244, allocations: 4 kB / 0.7262 GB, free: 15.56 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.009353/1.253, allocations: 4.167 MB / 0.7302 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005751/1.259, allocations: 0.7222 MB / 0.7309 GB, free: 10.58 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/1.294, allocations: 17.19 MB / 0.7477 GB, free: 9.312 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008586/1.303, allocations: 5.585 MB / 0.7532 GB, free: 3.688 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008081/1.311, allocations: 3.294 MB / 0.7564 GB, free: 396 kB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/1.312, allocations: 375.3 kB / 0.7568 GB, free: 20 kB / 0.5138 GB Notification: Performance of SimCode: time 1.163e-06/1.312, allocations: 4 kB / 0.7568 GB, free: 16 kB / 0.5138 GB Notification: Performance of Templates: time 0.2964/1.608, allocations: 69.66 MB / 0.8248 GB, free: 118.5 MB / 0.5138 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/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.463685242459178]