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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007918, allocations: 93.02 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 173.9 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.123/1.123, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002077/0.0002077, allocations: 9.188 kB / 302.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07082/0.07104, allocations: 50.41 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003897/0.07498, allocations: 4.234 MB / 356.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.07741, allocations: 1.647 MB / 358.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.07783, allocations: 27.81 kB / 358.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.07836, allocations: 230.8 kB / 358.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.07976, allocations: 0.6301 MB / 359.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.08021, allocations: 214.8 kB / 359.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.08215, allocations: 2.156 MB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.08319, allocations: 1.075 MB / 362.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.08379, allocations: 0.599 MB / 363.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.08456, allocations: 0.8519 MB / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.08468, allocations: 84 kB / 364.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.08505, allocations: 211.8 kB / 364.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.08533, allocations: 410.5 kB / 364.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005573/0.0859, allocations: 0.7866 MB / 365.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.08722, allocations: 2.03 MB / 367.7 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.08724, allocations: 3.938 kB / 367.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08724, allocations: 4 kB / 367.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.08726, allocations: 0 / 367.7 MB, free: 4.422 MB / 302.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.003243/0.09051, allocations: 1.918 MB / 369.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.09054, allocations: 8.031 kB / 369.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.09206, allocations: 362.6 kB / 369.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.09331, allocations: 1.063 MB / 371 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.09338, allocations: 107 kB / 371.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.09356, allocations: 136.1 kB / 371.2 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1284/0.222, allocations: 1.896 MB / 373.1 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.222, allocations: 2.094 kB / 373.1 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.2222, allocations: 53.38 kB / 373.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/0.2223, allocations: 49.52 kB / 373.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.2252, allocations: 1.707 MB / 375 MB, free: 22.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007613/0.2328, allocations: 5.605 MB / 380.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.2351, allocations: 2.917 MB / 383.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/0.2358, allocations: 0.5089 MB / 384 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.2376, allocations: 1.536 MB / 385.5 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.2377, allocations: 45.72 kB / 385.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/0.2377, allocations: 1.219 kB / 385.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002716/0.2404, allocations: 1.454 MB / 387 MB, free: 15.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.2404, allocations: 91.33 kB / 387.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.2416, allocations: 1.024 MB / 388.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.2416, allocations: 36.61 kB / 388.2 MB, free: 15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.2419, allocations: 0.6794 MB / 388.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.242, allocations: 189.2 kB / 389 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.2421, allocations: 67.16 kB / 389.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.2421, allocations: 330.5 kB / 389.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.2426, allocations: 367.6 kB / 389.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.2432, allocations: 0.5251 MB / 390.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.2442, allocations: 0.8993 MB / 391.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2443, allocations: 2.125 kB / 391.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001358/0.2456, allocations: 1.049 MB / 392.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2456, allocations: 7.906 kB / 392.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2457, allocations: 7.906 kB / 392.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2457, allocations: 7.938 kB / 392.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.2463, allocations: 188.2 kB / 392.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2463, allocations: 15.8 kB / 392.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.2468, allocations: 86.88 kB / 392.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.2468, allocations: 31.58 kB / 392.6 MB, free: 12.07 MB / 302.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.0005025/0.2473, allocations: 0.5207 MB / 393.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2475, allocations: 93.06 kB / 393.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2485, allocations: 0.6972 MB / 393.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2485, allocations: 5.5 kB / 393.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.2485, allocations: 6.688 kB / 393.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2485, allocations: 0 / 393.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.2504, allocations: 1.67 MB / 395.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2504, allocations: 5.75 kB / 395.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.2508, allocations: 99.5 kB / 395.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.2512, allocations: 150.7 kB / 395.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.2512, allocations: 18.86 kB / 395.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.2532, allocations: 2.621 MB / 398.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2532, allocations: 1.312 kB / 398.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2549, allocations: 1.52 MB / 400 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.255, allocations: 187.3 kB / 400.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/0.2551, allocations: 20 kB / 400.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.2556, allocations: 67.92 kB / 400.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2557, allocations: 59.86 kB / 400.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.2558, allocations: 16.94 kB / 400.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006244/0.2564, allocations: 0.7332 MB / 401.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2564, allocations: 0 / 401.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007209/0.2571, allocations: 357.6 kB / 401.4 MB, free: 5.57 MB / 302.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.0001801/0.2573, allocations: 141 kB / 401.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.2583, allocations: 0.7926 MB / 402.3 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.2583, allocations: 4.375 kB / 402.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007676/0.2591, allocations: 0.6062 MB / 403 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/0.26, allocations: 172.1 kB / 403.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.2631, allocations: 3.475 MB / 406.6 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/0.264, allocations: 1.469 MB / 408.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.2642, allocations: 63.42 kB / 408.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2642, allocations: 3.391 kB / 408.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of Templates: time 0.0215/0.2857, allocations: 19.44 MB / 427.6 MB, free: 11.38 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches