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.00179/0.00179, allocations: 120.2 kB / 21.94 MB, free: 8 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.00222/0.00222, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.576/1.576, allocations: 207.6 MB / 236 MB, free: 9.977 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.00204/0.00204, allocations: 55.94 kB / 348.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 49.15 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01091/0.3649, allocations: 9.993 MB / 407.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.3735, allocations: 3.377 MB / 411 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.3767, allocations: 73.12 kB / 411.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.3875, allocations: 3.887 MB / 414.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.394, allocations: 1.443 MB / 416.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.3977, allocations: 1.179 MB / 417.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01431/0.412, allocations: 9.211 MB / 426.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02736/0.4394, allocations: 12.95 MB / 439.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.4502, allocations: 5.175 MB / 444.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.4625, allocations: 6.142 MB / 451 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004498/0.467, allocations: 1.398 MB / 452.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00732/0.4743, allocations: 1.636 MB / 454.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00655/0.4809, allocations: 2.93 MB / 457 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0137/0.4946, allocations: 5.451 MB / 462.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02855/0.5231, allocations: 18.74 MB / 481.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.5231, allocations: 12 kB / 481.2 MB, free: 15.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5231, allocations: 0 / 481.2 MB, free: 15.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005891/0.5237, allocations: 0 / 481.2 MB, free: 15.45 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.03969/0.5634, allocations: 12.39 MB / 493.6 MB, free: 2.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5635, allocations: 15.98 kB / 493.6 MB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04877/0.6122, allocations: 8.538 MB / 0.4904 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.6284, allocations: 5.493 MB / 0.4957 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/0.6294, allocations: 0.6661 MB / 0.4964 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004733/0.6342, allocations: 0.8632 MB / 0.4972 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0461/0.6803, allocations: 15.98 MB / 0.5128 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004644/0.6807, allocations: 7.953 kB / 0.5129 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003528/0.6843, allocations: 372 kB / 0.5132 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000741/0.685, allocations: 0.5581 MB / 0.5138 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03866/0.7237, allocations: 15.72 MB / 0.5291 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5241/1.248, allocations: 46.59 MB / 0.5746 GB, free: 115 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/1.263, allocations: 8.475 MB / 0.5829 GB, free: 114.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004571/1.267, allocations: 3.237 MB / 0.586 GB, free: 114.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/1.268, allocations: 108.5 kB / 0.5861 GB, free: 114.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.723e-05/1.268, allocations: 82.75 kB / 0.5862 GB, free: 114.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.342e-06/1.268, allocations: 0 / 0.5862 GB, free: 114.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02056/1.288, allocations: 11.07 MB / 0.597 GB, free: 111.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/1.288, allocations: 127.9 kB / 0.5971 GB, free: 111.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006411/1.295, allocations: 3.849 MB / 0.6009 GB, free: 110.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001637/1.297, allocations: 100.5 kB / 0.601 GB, free: 110.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.299, allocations: 4.047 MB / 0.605 GB, free: 107.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001895/1.301, allocations: 1.697 MB / 0.6066 GB, free: 106.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.303, allocations: 1.472 MB / 0.6081 GB, free: 105.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.303, allocations: 301.1 kB / 0.6083 GB, free: 105.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004546/1.308, allocations: 3.691 MB / 0.6119 GB, free: 103.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/1.314, allocations: 6.526 MB / 0.6183 GB, free: 97.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.325, allocations: 10.83 MB / 0.6289 GB, free: 86.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.325, allocations: 28 kB / 0.6289 GB, free: 86.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02044/1.345, allocations: 11.92 MB / 0.6406 GB, free: 74.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.346, allocations: 48.25 kB / 0.6406 GB, free: 74.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/1.346, allocations: 96 kB / 0.6407 GB, free: 74.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00443/1.35, allocations: 1.622 MB / 0.6423 GB, free: 72.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006105/1.356, allocations: 1.665 MB / 0.6439 GB, free: 70.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/1.375, allocations: 17.05 MB / 0.6606 GB, free: 53.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006652/1.381, allocations: 0.9742 MB / 0.6615 GB, free: 52.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/1.383, allocations: 360 kB / 0.6619 GB, free: 51.69 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.007911/1.391, allocations: 3.758 MB / 0.6655 GB, free: 47.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/1.392, allocations: 413.3 kB / 0.6659 GB, free: 47.51 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.408, allocations: 8.526 MB / 0.6742 GB, free: 38.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/1.408, allocations: 51.94 kB / 0.6743 GB, free: 38.85 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-05/1.408, allocations: 12 kB / 0.6743 GB, free: 38.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.683e-05/1.408, allocations: 23.91 kB / 0.6743 GB, free: 38.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03492/1.443, allocations: 16.81 MB / 0.6907 GB, free: 21.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/1.443, allocations: 3.984 kB / 0.6907 GB, free: 21.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003561/1.446, allocations: 0.862 MB / 0.6916 GB, free: 21.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/1.451, allocations: 1.511 MB / 0.6931 GB, free: 19.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/1.452, allocations: 99.97 kB / 0.6932 GB, free: 19.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.468, allocations: 16.87 MB / 0.7096 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.468, allocations: 4 kB / 0.7096 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02555/1.493, allocations: 12.21 MB / 0.7216 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004377/1.498, allocations: 1.082 MB / 0.7226 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/1.499, allocations: 84 kB / 0.7227 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003751/1.503, allocations: 311.7 kB / 0.723 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/1.505, allocations: 343.2 kB / 0.7233 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009352/1.506, allocations: 136 kB / 0.7235 GB, free: 3.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005947/1.512, allocations: 2.574 MB / 0.726 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.512, allocations: 4 kB / 0.726 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01098/1.523, allocations: 2.4 MB / 0.7283 GB, free: 14.57 MB / 0.4982 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.001573/1.524, allocations: 250.4 kB / 0.7286 GB, free: 14.32 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02035/1.545, allocations: 9.003 MB / 0.7373 GB, free: 5.207 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.545, allocations: 1.938 kB / 0.7373 GB, free: 5.207 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.01019/1.555, allocations: 4.163 MB / 0.7414 GB, free: 0.9609 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007181/1.562, allocations: 0.7461 MB / 0.7421 GB, free: 224 kB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.299/1.861, allocations: 17.14 MB / 0.7589 GB, free: 161 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01182/1.873, allocations: 5.932 MB / 0.7647 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/1.875, allocations: 430.9 kB / 0.7651 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.363e-06/1.875, allocations: 1.375 kB / 0.7651 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.8955/2.771, allocations: 417.8 MB / 1.173 GB, free: 181.7 MB / 0.545 GB " [Timeout remaining time 657] 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.71597666782327]