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.001718/0.001718, allocations: 77.23 kB / 21.24 MB, free: 0.6406 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.002373/0.002373, allocations: 166.6 kB / 24.5 MB, free: 3.941 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.364/1.364, allocations: 158.6 MB / 186.2 MB, free: 6.52 MB / 174.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.001927/0.001927, allocations: 59.92 kB / 298.6 MB, free: 7.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2181, allocations: 49.14 MB / 347.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01178/0.2299, allocations: 8.625 MB / 356.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006706/0.2366, allocations: 3.222 MB / 359.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.238, allocations: 71.62 kB / 359.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009695/0.2477, allocations: 3.785 MB / 363.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005817/0.2535, allocations: 1.407 MB / 364.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.257, allocations: 1.11 MB / 366 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.2691, allocations: 9.232 MB / 375.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02464/0.2937, allocations: 12.82 MB / 388 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/0.3053, allocations: 7.747 MB / 395.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009846/0.3152, allocations: 6.032 MB / 401.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003472/0.3186, allocations: 1.398 MB / 403.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006233/0.3249, allocations: 1.621 MB / 404.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0053/0.3302, allocations: 2.93 MB / 407.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01027/0.3404, allocations: 4.273 MB / 412 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02353/0.364, allocations: 18.82 MB / 430.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.364, allocations: 3.938 kB / 430.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.364, allocations: 0 / 430.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004493/0.3644, allocations: 0 / 430.9 MB, free: 12.24 MB / 398.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.03993/0.4044, allocations: 12.38 MB / 443.2 MB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.4044, allocations: 15.97 kB / 443.3 MB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05119/0.4556, allocations: 8.542 MB / 451.8 MB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/0.4717, allocations: 5.501 MB / 457.3 MB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009185/0.4726, allocations: 0.6623 MB / 458 MB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003888/0.4765, allocations: 0.8593 MB / 458.8 MB, free: 128 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2309/0.7074, allocations: 16.23 MB / 475 MB, free: 98.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004111/0.7078, allocations: 13.41 kB / 475.1 MB, free: 98.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003435/0.7112, allocations: 368.5 kB / 475.4 MB, free: 98.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00147/0.7127, allocations: 0.5593 MB / 476 MB, free: 98.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02998/0.7427, allocations: 15.64 MB / 491.6 MB, free: 93.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0616/0.8043, allocations: 41.68 MB / 0.5208 GB, free: 51.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.8177, allocations: 8.417 MB / 0.529 GB, free: 43.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003971/0.8217, allocations: 3.241 MB / 0.5322 GB, free: 40.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.822, allocations: 91.94 kB / 0.5323 GB, free: 40.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.8221, allocations: 86.56 kB / 0.5323 GB, free: 40.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.865e-06/0.8221, allocations: 0 / 0.5323 GB, free: 40.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02056/0.8426, allocations: 11.05 MB / 0.5431 GB, free: 29.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.8427, allocations: 133.1 kB / 0.5433 GB, free: 29.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/0.8473, allocations: 3.965 MB / 0.5471 GB, free: 25.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006715/0.8479, allocations: 105.7 kB / 0.5472 GB, free: 25.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.8494, allocations: 4.034 MB / 0.5512 GB, free: 21.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001291/0.8507, allocations: 1.695 MB / 0.5528 GB, free: 19.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/0.8526, allocations: 1.469 MB / 0.5543 GB, free: 17.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.8526, allocations: 305.1 kB / 0.5546 GB, free: 17.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/0.8571, allocations: 3.68 MB / 0.5582 GB, free: 14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/0.8625, allocations: 6.527 MB / 0.5645 GB, free: 6.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/0.8752, allocations: 10.83 MB / 0.5751 GB, free: 10 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/0.8753, allocations: 28 kB / 0.5751 GB, free: 9.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02484/0.9001, allocations: 11.92 MB / 0.5868 GB, free: 13.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.9002, allocations: 48 kB / 0.5868 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/0.9004, allocations: 92 kB / 0.5869 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005395/0.9057, allocations: 1.626 MB / 0.5885 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006543/0.9123, allocations: 1.673 MB / 0.5901 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02289/0.9352, allocations: 16.71 MB / 0.6064 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/0.9412, allocations: 0.9742 MB / 0.6074 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/0.9425, allocations: 360 kB / 0.6077 GB, free: 7.863 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.007452/0.9499, allocations: 3.754 MB / 0.6114 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009187/0.9509, allocations: 409.4 kB / 0.6118 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.9684, allocations: 8.518 MB / 0.6201 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.143e-05/0.9684, allocations: 51.94 kB / 0.6202 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/0.9685, allocations: 15.98 kB / 0.6202 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-05/0.9685, allocations: 27.91 kB / 0.6202 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03412/1.003, allocations: 14.85 MB / 0.6347 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/1.003, allocations: 4 kB / 0.6347 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003925/1.007, allocations: 0.8581 MB / 0.6355 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/1.012, allocations: 1.515 MB / 0.637 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004646/1.012, allocations: 104 kB / 0.6371 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/1.034, allocations: 16.54 MB / 0.6533 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.034, allocations: 7.938 kB / 0.6533 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2011/1.235, allocations: 12.19 MB / 0.6652 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/1.238, allocations: 1.079 MB / 0.6662 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/1.239, allocations: 88.5 kB / 0.6663 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.241, allocations: 304.1 kB / 0.6666 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006362/1.242, allocations: 336.4 kB / 0.6669 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.242, allocations: 138.8 kB / 0.6671 GB, free: 169 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002918/1.245, allocations: 2.537 MB / 0.6695 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/1.245, allocations: 0 / 0.6695 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006581/1.251, allocations: 2.41 MB / 0.6719 GB, free: 168.4 MB / 0.5137 GB 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.0009202/1.252, allocations: 255 kB / 0.6721 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.266, allocations: 8.995 MB / 0.6809 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.266, allocations: 3.938 kB / 0.6809 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006097/1.272, allocations: 4.162 MB / 0.685 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.276, allocations: 0.7146 MB / 0.6857 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/1.297, allocations: 17.19 MB / 0.7025 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005175/1.303, allocations: 5.581 MB / 0.7079 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006276/1.309, allocations: 3.294 MB / 0.7111 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.31, allocations: 376.4 kB / 0.7115 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/1.31, allocations: 0 / 0.7115 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.08884/1.399, allocations: 61.33 MB / 0.7714 GB, free: 83.92 MB / 0.5137 GB " [Timeout remaining time 659] 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: 7.912066420540214]