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.001767/0.001768, allocations: 114.6 kB / 18.4 MB, free: 4.773 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.001768/0.001768, allocations: 190.7 kB / 21.34 MB, free: 1.844 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.453/1.453, allocations: 222.9 MB / 247 MB, free: 4.352 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 0.001539/0.001539, allocations: 47.91 kB / 358.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09394, allocations: 49.44 MB / 408.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00628/0.1003, allocations: 4.649 MB / 412.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1034, allocations: 1.693 MB / 414.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.1038, allocations: 23.94 kB / 414.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.1045, allocations: 254.3 kB / 414.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.1062, allocations: 0.6919 MB / 415.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.1067, allocations: 223.5 kB / 415.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.109, allocations: 1.889 MB / 417.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.1105, allocations: 1.288 MB / 418.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.1115, allocations: 0.7904 MB / 419.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.1128, allocations: 0.9807 MB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.1131, allocations: 188 kB / 420.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.1138, allocations: 303.9 kB / 421 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.1143, allocations: 0.5453 MB / 421.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1154, allocations: 0.8944 MB / 422.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.1182, allocations: 2.581 MB / 425.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1183, allocations: 0 / 425.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1183, allocations: 0 / 425.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.445e-05/0.1183, allocations: 0 / 425.1 MB, free: 5.949 MB / 350.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.005023/0.1233, allocations: 2.216 MB / 427.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1234, allocations: 12.03 kB / 427.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.1253, allocations: 375.6 kB / 427.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.1272, allocations: 1.096 MB / 428.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.1273, allocations: 107 kB / 428.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.1275, allocations: 128.1 kB / 429 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1744/0.3019, allocations: 1.898 MB / 430.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.544e-05/0.302, allocations: 1.188 kB / 430.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.3023, allocations: 51.53 kB / 430.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.3024, allocations: 46.27 kB / 431 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.3049, allocations: 1.688 MB / 432.7 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007888/0.3128, allocations: 5.501 MB / 438.2 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.3154, allocations: 2.898 MB / 441.1 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.3161, allocations: 0.4917 MB / 441.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001944/0.3181, allocations: 1.529 MB / 443.1 MB, free: 17.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.3181, allocations: 43.83 kB / 443.1 MB, free: 17.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.3181, allocations: 3.812 kB / 443.1 MB, free: 17.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003073/0.3212, allocations: 1.416 MB / 444.6 MB, free: 17.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3213, allocations: 93.2 kB / 444.6 MB, free: 17.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.3225, allocations: 1.025 MB / 445.7 MB, free: 17.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.3225, allocations: 36.3 kB / 445.7 MB, free: 17.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.3229, allocations: 0.6957 MB / 446.4 MB, free: 16.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.323, allocations: 197 kB / 446.6 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3232, allocations: 123.8 kB / 446.7 MB, free: 16.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.3233, allocations: 334 kB / 447 MB, free: 16.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.3238, allocations: 361.2 kB / 447.4 MB, free: 16.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.3245, allocations: 0.5164 MB / 447.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3256, allocations: 0.875 MB / 448.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3256, allocations: 2.312 kB / 448.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001515/0.3272, allocations: 1.008 MB / 449.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3272, allocations: 8.578 kB / 449.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3272, allocations: 10.09 kB / 449.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3272, allocations: 8 kB / 449.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.3279, allocations: 187.1 kB / 450 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.328, allocations: 9.078 kB / 450 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.3285, allocations: 90.3 kB / 450.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.3285, allocations: 24.09 kB / 450.1 MB, free: 14.91 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.0005822/0.3291, allocations: 0.5372 MB / 450.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.3293, allocations: 95.58 kB / 450.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.3304, allocations: 0.6868 MB / 451.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3304, allocations: 7.922 kB / 451.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3304, allocations: 6.344 kB / 451.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3304, allocations: 5.109 kB / 451.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.3325, allocations: 1.651 MB / 453.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3325, allocations: 1.281 kB / 453.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.3329, allocations: 103.5 kB / 453.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/0.3333, allocations: 142.9 kB / 453.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.3334, allocations: 18.77 kB / 453.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.3357, allocations: 2.859 MB / 456.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3357, allocations: 5.297 kB / 456.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.3376, allocations: 1.482 MB / 457.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3378, allocations: 188.5 kB / 457.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.3379, allocations: 16.09 kB / 457.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.3384, allocations: 65.06 kB / 458 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.3385, allocations: 47.3 kB / 458 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.3386, allocations: 23.27 kB / 458 MB, free: 9.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007776/0.3393, allocations: 0.73 MB / 458.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3394, allocations: 0 / 458.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009613/0.3403, allocations: 370.4 kB / 459.1 MB, free: 9.152 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.0002193/0.3405, allocations: 141.6 kB / 459.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3417, allocations: 0.7794 MB / 460.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3417, allocations: 1.125 kB / 460.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.3425, allocations: 0.5887 MB / 460.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.3434, allocations: 181.5 kB / 460.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.3466, allocations: 2.812 MB / 463.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.3473, allocations: 1.456 MB / 465.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.3475, allocations: 68.2 kB / 465.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3475, allocations: 0 / 465.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Templates: time 0.02456/0.3721, allocations: 19.76 MB / 484.9 MB, free: 1.906 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.731725453981198]