Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.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.0008608/0.0008608, allocations: 87.62 kB / 22.19 MB, free: 2.363 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.001008/0.001008, allocations: 165.1 kB / 25.45 MB, free: 8.852 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 0.9391/0.9391, allocations: 158.6 MB / 187.2 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 299.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.797e-05/3.992e-05, allocations: 6.219 kB / 299.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1477/0.1477, allocations: 4.161 MB / 303.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.151, allocations: 1.643 MB / 305.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.1516, allocations: 31.72 kB / 305.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.1523, allocations: 271.3 kB / 305.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.1541, allocations: 0.6552 MB / 306.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.1547, allocations: 242 kB / 306.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.1568, allocations: 1.939 MB / 308.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008131/0.1576, allocations: 0.6495 MB / 309.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.1593, allocations: 1.146 MB / 310.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.1607, allocations: 0.9171 MB / 311.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004968/0.1611, allocations: 190.8 kB / 311.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.1619, allocations: 296.4 kB / 311.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.1624, allocations: 0.551 MB / 312.4 MB, free: 9.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009487/0.1633, allocations: 0.619 MB / 313 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.1666, allocations: 2.615 MB / 315.6 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1666, allocations: 5.875 kB / 315.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1666, allocations: 0 / 315.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001021/0.1667, allocations: 1.062 kB / 315.6 MB, free: 8.727 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005754/0.1725, allocations: 2.125 MB / 317.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1725, allocations: 14.14 kB / 317.7 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.1738, allocations: 375.7 kB / 318.1 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.1758, allocations: 1.008 MB / 319.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.1759, allocations: 100.5 kB / 319.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.1761, allocations: 137.2 kB / 319.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.1788, allocations: 2.036 MB / 321.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.1789, allocations: 1.078 kB / 321.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.514e-05/0.1789, allocations: 59.78 kB / 321.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.179, allocations: 49.41 kB / 321.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.181, allocations: 1.679 MB / 323.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.1864, allocations: 4.845 MB / 328 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.188, allocations: 1.049 MB / 329.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.1885, allocations: 472.6 kB / 329.5 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.1907, allocations: 1.236 MB / 330.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1907, allocations: 42.55 kB / 330.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 2.494e-06/0.1907, allocations: 0 / 330.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.002103/0.1928, allocations: 1.335 MB / 332.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.1928, allocations: 85.39 kB / 332.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1939, allocations: 1.009 MB / 333.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.194, allocations: 37.7 kB / 333.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.1943, allocations: 0.6986 MB / 334 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.1945, allocations: 194.3 kB / 334.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1946, allocations: 122.3 kB / 334.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.1947, allocations: 337.9 kB / 334.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.1951, allocations: 360.5 kB / 335 MB, free: 10.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.1955, allocations: 0.5248 MB / 335.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.1964, allocations: 0.8789 MB / 336.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1964, allocations: 0 / 336.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001192/0.1976, allocations: 1.002 MB / 337.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1976, allocations: 8 kB / 337.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1976, allocations: 4 kB / 337.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.1976, allocations: 12 kB / 337.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.198, allocations: 183.7 kB / 337.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.198, allocations: 12.19 kB / 337.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.1984, allocations: 87.47 kB / 337.7 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.1986, allocations: 31.94 kB / 337.7 MB, free: 7.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007548/0.1994, allocations: 0.5169 MB / 338.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1995, allocations: 91.44 kB / 338.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.2003, allocations: 0.681 MB / 339 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2003, allocations: 8 kB / 339 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.2003, allocations: 0 / 339 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2003, allocations: 7.984 kB / 339 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.2021, allocations: 1.356 MB / 340.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2021, allocations: 4 kB / 340.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.2024, allocations: 87.88 kB / 340.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.2027, allocations: 152.7 kB / 340.6 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.2028, allocations: 23.98 kB / 340.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.2049, allocations: 2.691 MB / 343.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2049, allocations: 4.031 kB / 343.3 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.2064, allocations: 1.473 MB / 344.8 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.2067, allocations: 115.3 kB / 344.9 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.2068, allocations: 16 kB / 344.9 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.2071, allocations: 63.92 kB / 345 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2072, allocations: 55.84 kB / 345 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.2072, allocations: 15.98 kB / 345 MB, free: 348 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006847/0.2079, allocations: 0.7098 MB / 345.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2079, allocations: 0 / 345.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009289/0.2088, allocations: 362.9 kB / 346.1 MB, free: 15.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002857/0.2091, allocations: 136.8 kB / 346.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.21, allocations: 0.7608 MB / 347 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.21, allocations: 0 / 347 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.2108, allocations: 0.5759 MB / 347.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.2115, allocations: 160.9 kB / 347.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.2153, allocations: 2.684 MB / 350.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.2159, allocations: 0.8757 MB / 351.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.2162, allocations: 64.48 kB / 351.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2162, allocations: 4 kB / 351.4 MB, free: 9.91 MB / 314.7 MB Notification: Performance of Templates: time 0.0217/0.2379, allocations: 20.26 MB / 371.6 MB, free: 5.625 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.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: 5.914601694792509]