Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 178.1 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.3 MB / 241 MB, free: 10.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008308/0.0008306, allocations: 102.6 kB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 8 kB / 351.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2088, allocations: 50.41 MB / 402.2 MB, free: 32.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005981/0.2149, allocations: 8.572 MB / 410.8 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.2198, allocations: 3.049 MB / 413.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.221, allocations: 63.81 kB / 413.9 MB, free: 20.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.2223, allocations: 0.5284 MB / 414.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.2249, allocations: 1.28 MB / 415.7 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2264, allocations: 0.8472 MB / 416.6 MB, free: 18.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.2381, allocations: 15.4 MB / 432 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02157/0.2597, allocations: 15.3 MB / 447.3 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/0.265, allocations: 3.723 MB / 451 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006668/0.2716, allocations: 4.555 MB / 455.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.2731, allocations: 0.582 MB / 456.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.2759, allocations: 0.8005 MB / 456.9 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.2775, allocations: 1.869 MB / 458.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.2801, allocations: 1.783 MB / 460.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.2948, allocations: 15.84 MB / 476.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2948, allocations: 0 / 476.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2948, allocations: 0 / 476.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004481/0.2953, allocations: 0 / 476.4 MB, free: 6.129 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02697/0.3222, allocations: 10.85 MB / 487.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3223, allocations: 12.03 kB / 487.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04361/0.3659, allocations: 8.494 MB / 495.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.3788, allocations: 5.892 MB / 0.4899 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008312/0.3797, allocations: 0.6623 MB / 0.4906 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/0.3833, allocations: 0.8671 MB / 0.4914 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3711/0.7543, allocations: 15.9 MB / 0.5069 GB, free: 75.96 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.7546, allocations: 7.969 kB / 0.5069 GB, free: 75.96 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/0.7558, allocations: 367.7 kB / 0.5073 GB, free: 75.68 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/0.7562, allocations: 0.5582 MB / 0.5078 GB, free: 75.63 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/0.7825, allocations: 15.64 MB / 0.5231 GB, free: 69.49 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06374/0.8463, allocations: 48.43 MB / 0.5704 GB, free: 23.31 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/0.8606, allocations: 19.28 MB / 0.5892 GB, free: 1.922 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004826/0.8655, allocations: 3.566 MB / 0.5927 GB, free: 14.36 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004222/0.866, allocations: 188.3 kB / 0.5929 GB, free: 14.17 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/0.866, allocations: 78.56 kB / 0.593 GB, free: 14.08 MB / 394.8 MB Notification: Performance of pre-optimization done (n=468): time 6.673e-06/0.866, allocations: 0 / 0.593 GB, free: 14.08 MB / 394.8 MB Notification: Performance of matching and sorting (n=468): time 0.0304/0.8965, allocations: 13.48 MB / 0.6061 GB, free: 480 kB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.8966, allocations: 125.1 kB / 0.6063 GB, free: 336 kB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006322/0.9029, allocations: 3.813 MB / 0.61 GB, free: 12.51 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001002/0.904, allocations: 101.7 kB / 0.6101 GB, free: 12.4 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.9067, allocations: 3.893 MB / 0.6139 GB, free: 8.492 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002273/0.909, allocations: 1.607 MB / 0.6154 GB, free: 6.898 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/0.9094, allocations: 148 kB / 0.6156 GB, free: 6.754 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004693/0.9099, allocations: 0.6078 MB / 0.6162 GB, free: 6.141 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005315/0.9152, allocations: 3.656 MB / 0.6198 GB, free: 2.48 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007213/0.9224, allocations: 6.496 MB / 0.6261 GB, free: 10.69 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007451/0.9299, allocations: 5.196 MB / 0.6312 GB, free: 5.465 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.665e-05/0.93, allocations: 31.94 kB / 0.6312 GB, free: 5.434 MB / 426.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02089/0.9509, allocations: 11.88 MB / 0.6428 GB, free: 9.488 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.951, allocations: 56.05 kB / 0.6429 GB, free: 9.434 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/0.9512, allocations: 95.95 kB / 0.6429 GB, free: 9.34 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/0.9558, allocations: 1.617 MB / 0.6445 GB, free: 7.703 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/0.962, allocations: 1.665 MB / 0.6461 GB, free: 6.035 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.9794, allocations: 16.18 MB / 0.662 GB, free: 5.055 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005705/0.9851, allocations: 0.9483 MB / 0.6629 GB, free: 4.098 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/0.9865, allocations: 360 kB / 0.6632 GB, free: 3.746 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006788/0.9933, allocations: 3.761 MB / 0.6669 GB, free: 15.98 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008378/0.9941, allocations: 391.1 kB / 0.6673 GB, free: 15.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.008, allocations: 8.557 MB / 0.6756 GB, free: 6.961 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/1.008, allocations: 48 kB / 0.6757 GB, free: 6.914 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-05/1.008, allocations: 12 kB / 0.6757 GB, free: 6.902 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.943e-05/1.008, allocations: 23.91 kB / 0.6757 GB, free: 6.879 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1966/1.205, allocations: 16.89 MB / 0.6922 GB, free: 153.3 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.205, allocations: 3.828 kB / 0.6922 GB, free: 153.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003218/1.208, allocations: 0.8622 MB / 0.693 GB, free: 153.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004169/1.212, allocations: 1.502 MB / 0.6945 GB, free: 153 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/1.213, allocations: 102.8 kB / 0.6946 GB, free: 152.9 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/1.226, allocations: 16 MB / 0.7102 GB, free: 141.7 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.226, allocations: 3.938 kB / 0.7102 GB, free: 141.7 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/1.24, allocations: 12.16 MB / 0.7221 GB, free: 137 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.242, allocations: 1.111 MB / 0.7232 GB, free: 136.4 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/1.243, allocations: 91.19 kB / 0.7233 GB, free: 136.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.245, allocations: 311.8 kB / 0.7236 GB, free: 136.3 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004825/1.245, allocations: 317.1 kB / 0.7239 GB, free: 136.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002359/1.245, allocations: 135.5 kB / 0.724 GB, free: 136 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003166/1.248, allocations: 2.548 MB / 0.7265 GB, free: 134 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.1e-07/1.248, allocations: 2.594 kB / 0.7265 GB, free: 134 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005281/1.254, allocations: 2.374 MB / 0.7288 GB, free: 131.6 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004664/1.254, allocations: 263.6 kB / 0.7291 GB, free: 131.3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01093/1.265, allocations: 9.316 MB / 0.7382 GB, free: 123.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.265, allocations: 4 kB / 0.7382 GB, free: 123.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005335/1.271, allocations: 4.456 MB / 0.7425 GB, free: 119.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.274, allocations: 0.7121 MB / 0.7432 GB, free: 118.6 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/1.296, allocations: 19.93 MB / 0.7627 GB, free: 98.75 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004285/1.3, allocations: 5.935 MB / 0.7685 GB, free: 92.78 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.302, allocations: 431.3 kB / 0.7689 GB, free: 92.36 MB / 474.8 MB Notification: Performance of SimCode: time 8.91e-07/1.302, allocations: 0 / 0.7689 GB, free: 92.36 MB / 474.8 MB Notification: Performance of Templates: time 0.6347/1.937, allocations: 415.7 MB / 1.175 GB, free: 33.79 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches