Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 92.69 kB / 20.95 MB, free: 460 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 146.3 kB / 24.24 MB, free: 3.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.816e-05, allocations: 6.25 kB / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006317/0.006345, allocations: 4.208 MB / 271.5 MB, free: 5.957 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.009503, allocations: 1.604 MB / 273.1 MB, free: 4.348 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.009832, allocations: 35.75 kB / 273.2 MB, free: 4.312 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.01048, allocations: 270.1 kB / 273.4 MB, free: 4.047 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.01232, allocations: 0.703 MB / 274.1 MB, free: 3.34 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.01291, allocations: 235.3 kB / 274.4 MB, free: 3.109 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.01568, allocations: 1.937 MB / 276.3 MB, free: 1.164 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.01678, allocations: 0.6643 MB / 277 MB, free: 472 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.01895, allocations: 1.146 MB / 278.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.02041, allocations: 0.9275 MB / 279 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.0207, allocations: 184 kB / 279.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.02137, allocations: 307.7 kB / 279.5 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005667/0.02194, allocations: 0.5569 MB / 280.1 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008268/0.02277, allocations: 0.6158 MB / 280.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.026, allocations: 2.614 MB / 283.3 MB, free: 10.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.026, allocations: 0 / 283.3 MB, free: 10.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.026, allocations: 0 / 283.3 MB, free: 10.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.02603, allocations: 4 kB / 283.3 MB, free: 10.1 MB / 270.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.004998/0.03103, allocations: 2.129 MB / 285.4 MB, free: 7.934 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.03108, allocations: 16.92 kB / 285.4 MB, free: 7.918 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.03327, allocations: 0.5228 MB / 286 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.03524, allocations: 1.08 MB / 287 MB, free: 6.281 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.03532, allocations: 103 kB / 287.2 MB, free: 6.18 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.03554, allocations: 132.4 kB / 287.3 MB, free: 6.051 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.03895, allocations: 2.037 MB / 289.3 MB, free: 3.945 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.03898, allocations: 3.938 kB / 289.3 MB, free: 3.941 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.03911, allocations: 52 kB / 289.4 MB, free: 3.891 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-05/0.03918, allocations: 45.98 kB / 289.4 MB, free: 3.848 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.04223, allocations: 1.691 MB / 291.1 MB, free: 2.156 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008693/0.05092, allocations: 4.896 MB / 296 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.05342, allocations: 1.064 MB / 297.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007868/0.05421, allocations: 470.5 kB / 297.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002211/0.05642, allocations: 1.237 MB / 298.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.05646, allocations: 42.55 kB / 298.8 MB, free: 10.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.05646, allocations: 3.938 kB / 298.8 MB, free: 10.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.003333/0.05979, allocations: 1.344 MB / 300.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.05985, allocations: 85.11 kB / 300.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.06121, allocations: 1.008 MB / 301.2 MB, free: 7.711 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.06126, allocations: 37.7 kB / 301.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.0618, allocations: 0.6948 MB / 302 MB, free: 6.965 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.06197, allocations: 194.3 kB / 302.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.06217, allocations: 126.3 kB / 302.3 MB, free: 6.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.06233, allocations: 337.9 kB / 302.6 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.06298, allocations: 365 kB / 303 MB, free: 5.953 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.06375, allocations: 0.5093 MB / 303.5 MB, free: 5.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.06523, allocations: 0.8711 MB / 304.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.06524, allocations: 0 / 304.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001806/0.06704, allocations: 1.048 MB / 305.4 MB, free: 3.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.06706, allocations: 7.531 kB / 305.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.06707, allocations: 8 kB / 305.4 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.0671, allocations: 12 kB / 305.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.06787, allocations: 183.8 kB / 305.6 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.06789, allocations: 11.94 kB / 305.6 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.06841, allocations: 87.45 kB / 305.7 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.06846, allocations: 28 kB / 305.7 MB, free: 3.051 MB / 286.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.0007184/0.06918, allocations: 0.5247 MB / 306.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.06938, allocations: 115.4 kB / 306.4 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.07072, allocations: 0.6848 MB / 307.1 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.07072, allocations: 4 kB / 307.1 MB, free: 1.699 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.07073, allocations: 4 kB / 307.1 MB, free: 1.695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.07074, allocations: 3.984 kB / 307.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.07301, allocations: 1.348 MB / 308.4 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.07301, allocations: 0 / 308.4 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.07349, allocations: 104 kB / 308.5 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.07392, allocations: 148.6 kB / 308.7 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.07397, allocations: 19.98 kB / 308.7 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1079/0.1819, allocations: 2.684 MB / 311.4 MB, free: 47.35 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1819, allocations: 1.344 kB / 311.4 MB, free: 47.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.1841, allocations: 1.495 MB / 312.9 MB, free: 46.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.1843, allocations: 120 kB / 313 MB, free: 46.71 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.1844, allocations: 16.91 kB / 313 MB, free: 46.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.185, allocations: 64.11 kB / 313.1 MB, free: 46.7 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.1852, allocations: 57.64 kB / 313.1 MB, free: 46.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.1852, allocations: 17.77 kB / 313.1 MB, free: 46.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009411/0.1861, allocations: 0.7086 MB / 313.8 MB, free: 46.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1861, allocations: 0.6875 kB / 313.8 MB, free: 46.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009634/0.1871, allocations: 365.9 kB / 314.2 MB, free: 46.36 MB / 286.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.0002259/0.1873, allocations: 143.2 kB / 314.3 MB, free: 46.26 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.1886, allocations: 0.7435 MB / 315.1 MB, free: 46.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1886, allocations: 1.094 kB / 315.1 MB, free: 46.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.1896, allocations: 0.5847 MB / 315.7 MB, free: 45.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.1905, allocations: 160.3 kB / 315.8 MB, free: 45.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.1943, allocations: 2.715 MB / 318.5 MB, free: 44.42 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.1954, allocations: 0.9099 MB / 319.5 MB, free: 44.14 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0006826/0.1961, allocations: 236.1 kB / 319.7 MB, free: 44.12 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.1963, allocations: 62.98 kB / 319.7 MB, free: 44.11 MB / 286.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1963, allocations: 0 / 319.7 MB, free: 44.11 MB / 286.1 MB Notification: Performance of Templates: time 0.01758/0.2139, allocations: 11.44 MB / 331.2 MB, free: 36.3 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.5806629322469234]