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.0013/0.0013, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001319/0.001319, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.378/1.378, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.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.001515/0.001515, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2248, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006569/0.2313, allocations: 4.705 MB / 425.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.2345, allocations: 1.709 MB / 427.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.2349, allocations: 23.94 kB / 427.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.2355, allocations: 270.2 kB / 427.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2371, allocations: 0.6997 MB / 428.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2376, allocations: 231.4 kB / 428.5 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.24, allocations: 1.88 MB / 430.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009576/0.2409, allocations: 0.6795 MB / 431.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.2419, allocations: 0.7981 MB / 431.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.2432, allocations: 1.016 MB / 432.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.2434, allocations: 184 kB / 433 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006341/0.2441, allocations: 311.9 kB / 433.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.2446, allocations: 0.5414 MB / 433.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009529/0.2455, allocations: 0.8905 MB / 434.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.2482, allocations: 2.578 MB / 437.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2482, allocations: 0 / 437.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2482, allocations: 0 / 437.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.2483, allocations: 0 / 437.4 MB, free: 14.54 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.004525/0.2528, allocations: 2.224 MB / 439.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2528, allocations: 8.031 kB / 439.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.2546, allocations: 375.6 kB / 440 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.2564, allocations: 1.095 MB / 441.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.2565, allocations: 103 kB / 441.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.2567, allocations: 136.1 kB / 441.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.2599, allocations: 1.894 MB / 443.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.2599, allocations: 0 / 443.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.2601, allocations: 52 kB / 443.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.2601, allocations: 42 kB / 443.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.263, allocations: 1.691 MB / 445 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008684/0.2716, allocations: 5.514 MB / 450.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.275, allocations: 2.85 MB / 453.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000771/0.2758, allocations: 483.2 kB / 453.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002388/0.2782, allocations: 1.537 MB / 455.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.2782, allocations: 42.5 kB / 455.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.984e-06/0.2782, allocations: 0 / 455.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003168/0.2814, allocations: 1.407 MB / 456.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.2814, allocations: 92.98 kB / 456.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.2828, allocations: 1.028 MB / 457.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.2829, allocations: 37.7 kB / 457.9 MB, free: 9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.2834, allocations: 0.6873 MB / 458.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.2836, allocations: 202.3 kB / 458.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.2838, allocations: 122.3 kB / 458.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2839, allocations: 337.9 kB / 459.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.2845, allocations: 361 kB / 459.6 MB, free: 7.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.2852, allocations: 0.5132 MB / 460.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2866, allocations: 0.875 MB / 461 MB, free: 5.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2866, allocations: 0 / 461 MB, free: 5.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001735/0.2883, allocations: 1.013 MB / 462 MB, free: 4.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2884, allocations: 7.938 kB / 462 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2884, allocations: 8 kB / 462 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.2884, allocations: 11.94 kB / 462.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.2891, allocations: 184.2 kB / 462.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.2892, allocations: 15.92 kB / 462.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.2897, allocations: 83.48 kB / 462.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.2897, allocations: 27.98 kB / 462.4 MB, free: 4.414 MB / 366.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.0007941/0.2905, allocations: 0.5209 MB / 462.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.2907, allocations: 91.44 kB / 463 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.292, allocations: 0.6861 MB / 463.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.292, allocations: 8 kB / 463.7 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.292, allocations: 4 kB / 463.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.292, allocations: 7.875 kB / 463.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.2945, allocations: 1.645 MB / 465.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2945, allocations: 8.094 kB / 465.3 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.2949, allocations: 87.88 kB / 465.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.2954, allocations: 156.6 kB / 465.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.2954, allocations: 19.97 kB / 465.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/0.2986, allocations: 2.856 MB / 468.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2986, allocations: 0 / 468.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.3009, allocations: 1.481 MB / 469.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.3011, allocations: 188.5 kB / 470.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3012, allocations: 15.98 kB / 470.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.3017, allocations: 67.88 kB / 470.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.3019, allocations: 51.86 kB / 470.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.3019, allocations: 16 kB / 470.3 MB, free: 12.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.303, allocations: 0.7371 MB / 471 MB, free: 11.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.303, allocations: 4 kB / 471 MB, free: 11.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3041, allocations: 358.9 kB / 471.3 MB, free: 11.15 MB / 382.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.0002889/0.3044, allocations: 147.3 kB / 471.5 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.3058, allocations: 0.752 MB / 472.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3058, allocations: 0 / 472.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.307, allocations: 0.5756 MB / 472.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.3079, allocations: 184 kB / 473 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.3125, allocations: 2.81 MB / 475.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.3138, allocations: 1.495 MB / 477.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006551/0.3144, allocations: 230.7 kB / 477.5 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.3146, allocations: 59.44 kB / 477.6 MB, free: 4.801 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3146, allocations: 0 / 477.6 MB, free: 4.801 MB / 382.1 MB Notification: Performance of Templates: time 0.02202/0.3366, allocations: 12.12 MB / 489.7 MB, free: 8.812 MB / 398.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/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.6539909793064]