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.001403/0.001403, allocations: 85.39 kB / 21.44 MB, free: 296 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.001528/0.001528, allocations: 163.9 kB / 24.7 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.305/1.305, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 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.503e-06/1.503e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.688e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006384/0.006411, allocations: 4.17 MB / 303.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.00989, allocations: 1.644 MB / 304.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.01048, allocations: 31.75 kB / 304.8 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.01136, allocations: 270.1 kB / 305.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.01343, allocations: 0.6564 MB / 305.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.01425, allocations: 234 kB / 305.9 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.01742, allocations: 1.949 MB / 307.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.01868, allocations: 0.6403 MB / 308.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.02057, allocations: 1.142 MB / 309.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.02229, allocations: 0.9275 MB / 310.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.02275, allocations: 188 kB / 310.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009209/0.02367, allocations: 303.7 kB / 311.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007342/0.0244, allocations: 0.5491 MB / 311.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.02551, allocations: 0.6235 MB / 312.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.02854, allocations: 2.61 MB / 314.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.02855, allocations: 4 kB / 314.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02855, allocations: 0 / 314.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.02858, allocations: 0 / 314.9 MB, free: 8.707 MB / 302.1 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.005029/0.03361, allocations: 2.125 MB / 317 MB, free: 6.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.03367, allocations: 15.98 kB / 317 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.03559, allocations: 379.5 kB / 317.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.0376, allocations: 1.01 MB / 318.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.03769, allocations: 99.05 kB / 318.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.03791, allocations: 136.3 kB / 318.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.04135, allocations: 2.033 MB / 320.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.04138, allocations: 3.938 kB / 320.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.04153, allocations: 56 kB / 320.7 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/0.0416, allocations: 49.98 kB / 320.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.0446, allocations: 1.684 MB / 322.4 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1558/0.2004, allocations: 4.837 MB / 327.3 MB, free: 31.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.2028, allocations: 1.042 MB / 328.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000757/0.2036, allocations: 478.7 kB / 328.8 MB, free: 30.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.2062, allocations: 1.237 MB / 330 MB, free: 29.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2063, allocations: 51.81 kB / 330.1 MB, free: 29.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/0.2063, allocations: 0 / 330.1 MB, free: 29.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003779/0.21, allocations: 1.328 MB / 331.4 MB, free: 29.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2101, allocations: 84.11 kB / 331.5 MB, free: 29.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.2118, allocations: 1.006 MB / 332.5 MB, free: 28.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.2119, allocations: 36.42 kB / 332.5 MB, free: 28.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.2123, allocations: 0.6986 MB / 333.2 MB, free: 28.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2124, allocations: 191.5 kB / 333.4 MB, free: 28.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.2127, allocations: 127.6 kB / 333.5 MB, free: 28.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.2127, allocations: 330.7 kB / 333.9 MB, free: 27.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.2134, allocations: 363.8 kB / 334.2 MB, free: 27.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.214, allocations: 0.5123 MB / 334.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.2152, allocations: 0.871 MB / 335.6 MB, free: 27.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.2152, allocations: 6.125 kB / 335.6 MB, free: 27.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001608/0.2168, allocations: 1.012 MB / 336.6 MB, free: 26.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2169, allocations: 7.688 kB / 336.6 MB, free: 26.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.2169, allocations: 9.641 kB / 336.6 MB, free: 26.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.2169, allocations: 9.5 kB / 336.6 MB, free: 26.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/0.2177, allocations: 188.6 kB / 336.8 MB, free: 26.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.2177, allocations: 8.75 kB / 336.8 MB, free: 26.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.2183, allocations: 81.83 kB / 336.9 MB, free: 26.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.2183, allocations: 28.67 kB / 336.9 MB, free: 26.58 MB / 302.1 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.0006659/0.219, allocations: 0.5343 MB / 337.5 MB, free: 26.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.2192, allocations: 94.02 kB / 337.6 MB, free: 26.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2204, allocations: 0.677 MB / 338.2 MB, free: 25.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.2204, allocations: 6.031 kB / 338.2 MB, free: 25.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.2204, allocations: 13.89 kB / 338.3 MB, free: 25.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2204, allocations: 3.047 kB / 338.3 MB, free: 25.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.2226, allocations: 1.356 MB / 339.6 MB, free: 25.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2226, allocations: 0 / 339.6 MB, free: 25.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.2231, allocations: 98.2 kB / 339.7 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.2235, allocations: 146 kB / 339.9 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.2235, allocations: 18.48 kB / 339.9 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.226, allocations: 2.692 MB / 342.6 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.226, allocations: 0.875 kB / 342.6 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.228, allocations: 1.467 MB / 344 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.2282, allocations: 119.5 kB / 344.2 MB, free: 21.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.2284, allocations: 19.52 kB / 344.2 MB, free: 21.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/0.229, allocations: 61.88 kB / 344.2 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.2291, allocations: 59.45 kB / 344.3 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.2292, allocations: 18.47 kB / 344.3 MB, free: 21.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009574/0.2301, allocations: 0.7139 MB / 345 MB, free: 21.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2301, allocations: 0 / 345 MB, free: 21.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001088/0.2312, allocations: 363.3 kB / 345.4 MB, free: 21.35 MB / 302.1 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.0002782/0.2315, allocations: 137.7 kB / 345.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.2327, allocations: 0.7451 MB / 346.3 MB, free: 20.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2327, allocations: 0 / 346.3 MB, free: 20.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009089/0.2336, allocations: 0.5828 MB / 346.8 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.2346, allocations: 171.7 kB / 347 MB, free: 20.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.2381, allocations: 2.68 MB / 349.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.2388, allocations: 0.912 MB / 350.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004864/0.2393, allocations: 238.5 kB / 350.8 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.2395, allocations: 56.5 kB / 350.9 MB, free: 16.13 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2395, allocations: 0 / 350.9 MB, free: 16.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01783/0.2573, allocations: 11.36 MB / 362.3 MB, free: 4.777 MB / 302.1 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: 4.5747889168560505]