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.001887/0.001887, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.002306/0.002306, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.001546/0.001546, allocations: 55.25 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08683, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007681/0.09451, allocations: 5.881 MB / 384.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.09833, allocations: 2.157 MB / 387 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.09873, allocations: 51.69 kB / 387 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.09951, allocations: 385.4 kB / 387.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.1014, allocations: 0.8394 MB / 388.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.1022, allocations: 358.1 kB / 388.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.1058, allocations: 3.199 MB / 391.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.1073, allocations: 1.082 MB / 392.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.1089, allocations: 1.339 MB / 394.2 MB, free: 260 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.1113, allocations: 1.681 MB / 395.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004415/0.1117, allocations: 296 kB / 396.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008478/0.1126, allocations: 423.8 kB / 396.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008391/0.1134, allocations: 0.849 MB / 397.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.1148, allocations: 1.19 MB / 398.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.1189, allocations: 4.146 MB / 402.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1189, allocations: 0 / 402.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1189, allocations: 4 kB / 402.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.794e-05/0.119, allocations: 0 / 402.8 MB, free: 7.652 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.007639/0.1266, allocations: 3.482 MB / 406.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1266, allocations: 8.031 kB / 406.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.1309, allocations: 0.7485 MB / 407 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.1341, allocations: 1.679 MB / 408.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.1342, allocations: 176.9 kB / 408.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.1346, allocations: 232.1 kB / 409.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005318/0.1399, allocations: 3.433 MB / 412.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.1399, allocations: 3.938 kB / 412.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.1402, allocations: 92 kB / 412.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-05/0.1402, allocations: 70 kB / 412.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.1451, allocations: 2.859 MB / 415.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.1588, allocations: 8.043 MB / 423.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.1629, allocations: 1.825 MB / 425.4 MB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.1641, allocations: 0.7602 MB / 426.2 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003612/0.1677, allocations: 2.055 MB / 428.2 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1678, allocations: 46.88 kB / 428.3 MB, free: 13.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.605e-06/0.1678, allocations: 0 / 428.3 MB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.007855/0.1756, allocations: 4.129 MB / 432.4 MB, free: 9.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.1757, allocations: 119.2 kB / 432.5 MB, free: 9.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.1778, allocations: 1.596 MB / 434.1 MB, free: 7.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.39e-05/0.1779, allocations: 45.7 kB / 434.1 MB, free: 7.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008687/0.1787, allocations: 1.145 MB / 435.3 MB, free: 6.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.1791, allocations: 380.8 kB / 435.7 MB, free: 6.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.1794, allocations: 238.8 kB / 435.9 MB, free: 5.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1796, allocations: 357.9 kB / 436.2 MB, free: 5.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.1807, allocations: 0.6349 MB / 436.9 MB, free: 4.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.1821, allocations: 1.012 MB / 437.9 MB, free: 3.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.1847, allocations: 1.704 MB / 439.6 MB, free: 1.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/0.1847, allocations: 7.938 kB / 439.6 MB, free: 1.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0034/0.1881, allocations: 1.945 MB / 441.6 MB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1882, allocations: 12 kB / 441.6 MB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.1882, allocations: 20.03 kB / 441.6 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.1886, allocations: 129.5 kB / 441.7 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.1899, allocations: 331.5 kB / 442 MB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.193, allocations: 3.163 MB / 445.2 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000935/0.194, allocations: 103.8 kB / 445.3 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.1941, allocations: 59.98 kB / 445.4 MB, free: 11.78 MB / 414.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.001287/0.1954, allocations: 0.8289 MB / 446.2 MB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.1957, allocations: 155 kB / 446.3 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.1983, allocations: 1.391 MB / 447.7 MB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.1984, allocations: 8 kB / 447.7 MB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1984, allocations: 4 kB / 447.7 MB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.1984, allocations: 3.984 kB / 447.7 MB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.2019, allocations: 1.96 MB / 449.7 MB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2019, allocations: 0 / 449.7 MB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/0.2028, allocations: 183.8 kB / 449.9 MB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006658/0.2035, allocations: 266.4 kB / 450.1 MB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.2036, allocations: 39.97 kB / 450.2 MB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.2098, allocations: 5.821 MB / 456 MB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2098, allocations: 4.031 kB / 456 MB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004144/0.214, allocations: 2.55 MB / 458.6 MB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.2143, allocations: 178.9 kB / 458.7 MB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.2145, allocations: 31.98 kB / 458.8 MB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/0.2153, allocations: 87.91 kB / 458.8 MB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.2156, allocations: 100.2 kB / 458.9 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.2156, allocations: 35.98 kB / 459 MB, free: 13.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.2172, allocations: 1.099 MB / 460.1 MB, free: 12.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2172, allocations: 0 / 460.1 MB, free: 12.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001437/0.2186, allocations: 455.9 kB / 460.5 MB, free: 12.17 MB / 430.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.0002742/0.2189, allocations: 159.2 kB / 460.7 MB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.2218, allocations: 1.662 MB / 462.3 MB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2218, allocations: 8 kB / 462.4 MB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.2237, allocations: 1.152 MB / 463.5 MB, free: 9.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.2251, allocations: 264.8 kB / 463.8 MB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007028/0.2321, allocations: 4.746 MB / 468.5 MB, free: 4.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.2338, allocations: 1.546 MB / 470.1 MB, free: 2.469 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001039/0.2349, allocations: 443.2 kB / 470.5 MB, free: 2.031 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.2351, allocations: 100.5 kB / 470.6 MB, free: 1.934 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2351, allocations: 0 / 470.6 MB, free: 1.934 MB / 430.1 MB Notification: Performance of Templates: time 0.1878/0.423, allocations: 19.34 MB / 489.9 MB, free: 76.66 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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.119431748986244]