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.0007891/0.0007891, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003439/0.003439, allocations: 148.5 kB / 24.68 MB, free: 9.434 MB / 18.57 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 0.8034/0.8034, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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.213e-06/1.213e-06, allocations: 0 / 319.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.653e-05, allocations: 2.281 kB / 319.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003329/0.003346, allocations: 4.213 MB / 323.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.00516, allocations: 1.588 MB / 325.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.005354, allocations: 31.81 kB / 325.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.005754, allocations: 274 kB / 325.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009323/0.006686, allocations: 0.703 MB / 326.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.006956, allocations: 231.4 kB / 326.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.008156, allocations: 1.94 MB / 328.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/0.008694, allocations: 0.6759 MB / 329.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006717/0.009366, allocations: 1.142 MB / 330.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.01002, allocations: 0.9275 MB / 331.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.01015, allocations: 184 kB / 331.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005202/0.01067, allocations: 299.8 kB / 331.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.01095, allocations: 0.5647 MB / 332.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.01132, allocations: 0.6158 MB / 333.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.01277, allocations: 2.61 MB / 335.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01277, allocations: 0 / 335.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01277, allocations: 8 kB / 335.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.01278, allocations: 0 / 335.7 MB, free: 5.633 MB / 298.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.002338/0.01512, allocations: 2.129 MB / 337.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.01515, allocations: 8.922 kB / 337.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.01601, allocations: 371.6 kB / 338.2 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.01727, allocations: 1.053 MB / 339.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.01732, allocations: 99.05 kB / 339.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.01745, allocations: 132.4 kB / 339.5 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.01926, allocations: 2.037 MB / 341.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.01928, allocations: 3.938 kB / 341.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.01936, allocations: 56 kB / 341.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.01939, allocations: 49.98 kB / 341.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.02106, allocations: 1.684 MB / 343.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.02567, allocations: 4.826 MB / 348.1 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.02699, allocations: 1.054 MB / 349.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.02743, allocations: 480.5 kB / 349.6 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.02863, allocations: 1.226 MB / 350.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.02865, allocations: 42.56 kB / 350.9 MB, free: 6.008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.02866, allocations: 3.938 kB / 350.9 MB, free: 6.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.001763/0.03042, allocations: 1.335 MB / 352.2 MB, free: 4.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.03045, allocations: 84.97 kB / 352.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.03146, allocations: 1.008 MB / 353.3 MB, free: 3.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.03149, allocations: 37.7 kB / 353.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.03178, allocations: 0.7026 MB / 354.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.03187, allocations: 194.3 kB / 354.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.03199, allocations: 126.3 kB / 354.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.03207, allocations: 333.9 kB / 354.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.03242, allocations: 361 kB / 355.1 MB, free: 1.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.03284, allocations: 0.5121 MB / 355.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/0.0336, allocations: 0.875 MB / 356.4 MB, free: 264 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.03361, allocations: 0 / 356.4 MB, free: 264 kB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009475/0.03455, allocations: 1.01 MB / 357.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.03457, allocations: 8 kB / 357.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.03458, allocations: 4 kB / 357.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.03459, allocations: 8 kB / 357.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.03496, allocations: 183.7 kB / 357.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.03497, allocations: 11.98 kB / 357.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.0352, allocations: 87.45 kB / 357.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.03523, allocations: 28.03 kB / 357.8 MB, free: 14.91 MB / 330.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.0004024/0.03563, allocations: 0.5286 MB / 358.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.03572, allocations: 95.44 kB / 358.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007209/0.03644, allocations: 0.681 MB / 359.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.03645, allocations: 8 kB / 359.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.03645, allocations: 0 / 359.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.03646, allocations: 0 / 359.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.03794, allocations: 1.359 MB / 360.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03794, allocations: 4.031 kB / 360.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.03817, allocations: 99.86 kB / 360.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/0.03842, allocations: 140.7 kB / 360.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.03845, allocations: 23.98 kB / 360.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.04026, allocations: 2.676 MB / 363.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.04027, allocations: 8 kB / 363.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.04155, allocations: 1.482 MB / 364.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.04166, allocations: 115.3 kB / 365 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.04172, allocations: 15.98 kB / 365 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.04197, allocations: 59.94 kB / 365.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.04205, allocations: 55.89 kB / 365.1 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.04207, allocations: 12 kB / 365.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005472/0.04262, allocations: 0.7176 MB / 365.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04262, allocations: 3.938 kB / 365.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005049/0.04312, allocations: 366.8 kB / 366.2 MB, free: 6.285 MB / 330.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.0001829/0.04331, allocations: 147.1 kB / 366.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007567/0.04406, allocations: 0.7572 MB / 367.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.04406, allocations: 4.125 kB / 367.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000827/0.04489, allocations: 0.5708 MB / 367.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.04541, allocations: 159.4 kB / 367.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.04766, allocations: 2.675 MB / 370.5 MB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.04818, allocations: 0.8712 MB / 371.4 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.04832, allocations: 72.42 kB / 371.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.04832, allocations: 0 / 371.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of Templates: time 0.01435/0.06267, allocations: 20.25 MB / 391.7 MB, free: 12.74 MB / 362.7 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.933435977436602]