Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001262/0.001262, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 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.001506/0.001506, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 43.94 kB / 378.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2228, allocations: 53.36 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008356/0.2312, allocations: 6.687 MB / 438.3 MB, free: 216 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.2353, allocations: 2.285 MB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00051/0.2358, allocations: 51.69 kB / 440.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.2366, allocations: 389.4 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.2386, allocations: 0.8549 MB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.2393, allocations: 367.3 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003671/0.243, allocations: 3.191 MB / 445.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.2445, allocations: 1.105 MB / 446.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.246, allocations: 1.324 MB / 447.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.2482, allocations: 1.662 MB / 449.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.2486, allocations: 292 kB / 449.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.2495, allocations: 431.8 kB / 450.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008195/0.2503, allocations: 0.8568 MB / 451.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.2518, allocations: 1.474 MB / 452.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.256, allocations: 4.112 MB / 456.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.256, allocations: 4 kB / 456.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.256, allocations: 0 / 456.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.445e-05/0.2561, allocations: 0 / 456.7 MB, free: 13.74 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.008258/0.2644, allocations: 3.478 MB / 460.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2644, allocations: 8.031 kB / 460.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004395/0.2688, allocations: 0.7563 MB / 460.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.2723, allocations: 1.687 MB / 462.6 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.2724, allocations: 176.9 kB / 462.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.2728, allocations: 232.1 kB / 463 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005402/0.2782, allocations: 3.211 MB / 466.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.2783, allocations: 0 / 466.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.2785, allocations: 92 kB / 466.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.272e-05/0.2786, allocations: 66 kB / 466.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005002/0.2836, allocations: 2.874 MB / 469.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.299, allocations: 9.042 MB / 478.3 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004021/0.3031, allocations: 1.837 MB / 480.1 MB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.3043, allocations: 0.7613 MB / 480.9 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003975/0.3083, allocations: 2.25 MB / 483.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.3083, allocations: 50.81 kB / 483.2 MB, free: 2.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.615e-06/0.3083, allocations: 4 kB / 483.2 MB, free: 2.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008082/0.3164, allocations: 4.12 MB / 487.3 MB, free: 14.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.3165, allocations: 115.2 kB / 487.4 MB, free: 14.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.3188, allocations: 1.629 MB / 489.1 MB, free: 12.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.343e-05/0.3189, allocations: 41.7 kB / 489.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009078/0.3198, allocations: 1.145 MB / 490.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.3201, allocations: 372.9 kB / 490.6 MB, free: 11.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.3205, allocations: 238.8 kB / 490.8 MB, free: 10.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3207, allocations: 357.9 kB / 491.2 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.3218, allocations: 0.6349 MB / 491.8 MB, free: 9.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.3232, allocations: 1.015 MB / 492.8 MB, free: 8.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.3258, allocations: 1.702 MB / 494.5 MB, free: 6.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.3258, allocations: 4 kB / 494.6 MB, free: 6.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003619/0.3295, allocations: 1.952 MB / 496.5 MB, free: 4.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.3295, allocations: 18.75 kB / 496.5 MB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.3295, allocations: 12 kB / 496.5 MB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.3299, allocations: 126 kB / 496.7 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.3312, allocations: 335.5 kB / 497 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.3344, allocations: 3.221 MB / 0.4885 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3355, allocations: 108 kB / 0.4886 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.3356, allocations: 56.22 kB / 0.4886 GB, free: 0.8047 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001373/0.337, allocations: 0.8387 MB / 0.4895 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.3373, allocations: 162.9 kB / 0.4896 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.3399, allocations: 1.385 MB / 0.491 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3399, allocations: 12 kB / 0.491 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3399, allocations: 7.938 kB / 0.491 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3399, allocations: 3.984 kB / 0.491 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/0.3441, allocations: 2.445 MB / 0.4934 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.3441, allocations: 3.938 kB / 0.4934 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009078/0.345, allocations: 187.8 kB / 0.4936 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006779/0.3457, allocations: 254.3 kB / 0.4938 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.3458, allocations: 32.11 kB / 0.4938 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006374/0.3521, allocations: 5.94 MB / 0.4996 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.3521, allocations: 7.969 kB / 0.4996 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/0.3564, allocations: 2.554 MB / 0.5021 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.3569, allocations: 186.8 kB / 0.5023 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.3571, allocations: 27.94 kB / 0.5023 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008821/0.358, allocations: 95.89 kB / 0.5024 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.3582, allocations: 96.19 kB / 0.5025 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/0.3583, allocations: 35.98 kB / 0.5026 GB, free: 2.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001656/0.3599, allocations: 1.128 MB / 0.5037 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3599, allocations: 0 / 0.5037 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001524/0.3615, allocations: 455.9 kB / 0.5041 GB, free: 0.4922 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003038/0.3618, allocations: 163 kB / 0.5042 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003052/0.3648, allocations: 1.663 MB / 0.5059 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3648, allocations: 0.5 kB / 0.5059 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.3668, allocations: 1.149 MB / 0.507 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.3683, allocations: 285.3 kB / 0.5073 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.3759, allocations: 4.749 MB / 0.5119 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.3779, allocations: 2.113 MB / 0.514 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001223/0.3791, allocations: 451.5 kB / 0.5144 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.3794, allocations: 107.4 kB / 0.5145 GB, free: 5.66 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3794, allocations: 0 / 0.5145 GB, free: 5.66 MB / 430.1 MB Notification: Performance of Templates: time 0.03963/0.419, allocations: 21 MB / 0.535 GB, free: 0.8555 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.511244013905525]