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.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.001311/0.001311, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 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.001653/0.001653, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.405/1.405, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 47.92 kB / 347.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2689, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005081/0.274, allocations: 4.658 MB / 401.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.277, allocations: 1.761 MB / 403.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.2775, allocations: 32.41 kB / 403.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.2782, allocations: 266.5 kB / 403.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.2799, allocations: 0.7131 MB / 404.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.2804, allocations: 234.4 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.2826, allocations: 1.893 MB / 406.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.2833, allocations: 0.6644 MB / 407 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009716/0.2843, allocations: 0.8017 MB / 407.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.2856, allocations: 1.01 MB / 408.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002614/0.2858, allocations: 190.2 kB / 409 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.2865, allocations: 305.6 kB / 409.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.287, allocations: 0.5394 MB / 409.8 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.2878, allocations: 0.9015 MB / 410.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.2904, allocations: 2.575 MB / 413.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2904, allocations: 0 / 413.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2904, allocations: 0 / 413.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.793e-05/0.2905, allocations: 4 kB / 413.3 MB, free: 15.55 MB / 334.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.00503/0.2955, allocations: 2.144 MB / 415.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2956, allocations: 14.14 kB / 415.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.2974, allocations: 368.8 kB / 415.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.2992, allocations: 1.006 MB / 416.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.2993, allocations: 104.5 kB / 417 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.2995, allocations: 140.6 kB / 417.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.3026, allocations: 1.884 MB / 419 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.3027, allocations: 1.219 kB / 419 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.3028, allocations: 59.52 kB / 419 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.3028, allocations: 44.19 kB / 419.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.3057, allocations: 1.683 MB / 420.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009208/0.3149, allocations: 5.443 MB / 426.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.3172, allocations: 1.057 MB / 427.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.318, allocations: 483.1 kB / 427.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/0.3204, allocations: 1.366 MB / 429.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.3204, allocations: 50.5 kB / 429.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/0.3204, allocations: 0 / 429.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003232/0.3237, allocations: 1.328 MB / 430.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.3237, allocations: 88.98 kB / 430.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.3253, allocations: 1.028 MB / 431.6 MB, free: 180 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.3253, allocations: 37.69 kB / 431.6 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.3259, allocations: 0.691 MB / 432.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.3261, allocations: 202.2 kB / 432.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.3263, allocations: 130.6 kB / 432.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3265, allocations: 334 kB / 433 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.3271, allocations: 357 kB / 433.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.3279, allocations: 0.5131 MB / 433.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.3292, allocations: 0.8749 MB / 434.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3292, allocations: 4 kB / 434.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001771/0.331, allocations: 1.018 MB / 435.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.331, allocations: 8 kB / 435.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3311, allocations: 4 kB / 435.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.3311, allocations: 15.92 kB / 435.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/0.3319, allocations: 179.8 kB / 435.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.3319, allocations: 19.92 kB / 436 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/0.3324, allocations: 87.52 kB / 436 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.3325, allocations: 27.98 kB / 436.1 MB, free: 11.53 MB / 350.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.0007892/0.3333, allocations: 0.5208 MB / 436.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3334, allocations: 95.44 kB / 436.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.3347, allocations: 0.6812 MB / 437.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3348, allocations: 4 kB / 437.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3348, allocations: 7.938 kB / 437.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3348, allocations: 3.938 kB / 437.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.3375, allocations: 1.636 MB / 439 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3375, allocations: 0 / 439 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.3379, allocations: 95.88 kB / 439.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.3383, allocations: 156.7 kB / 439.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.3384, allocations: 19.98 kB / 439.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/0.3418, allocations: 2.738 MB / 442 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3418, allocations: 8.016 kB / 442 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.3443, allocations: 1.474 MB / 443.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.3446, allocations: 119.3 kB / 443.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.3448, allocations: 19.98 kB / 443.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.3453, allocations: 59.88 kB / 443.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3455, allocations: 55.89 kB / 443.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.3455, allocations: 20.12 kB / 443.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001127/0.3466, allocations: 0.7332 MB / 444.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 0 / 444.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001182/0.3478, allocations: 362.9 kB / 444.9 MB, free: 2.516 MB / 350.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.0002585/0.3481, allocations: 131.2 kB / 445 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.3495, allocations: 0.7569 MB / 445.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3495, allocations: 4.062 kB / 445.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3506, allocations: 0.5743 MB / 446.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/0.3516, allocations: 176 kB / 446.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.3561, allocations: 2.825 MB / 449.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.3574, allocations: 1.499 MB / 450.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005592/0.358, allocations: 230.7 kB / 451 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3581, allocations: 59.42 kB / 451.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3581, allocations: 3.938 kB / 451.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.02338/0.3815, allocations: 12.33 MB / 463.4 MB, free: 15.81 MB / 382.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.792779119685292]