Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.34 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08658, allocations: 50.52 MB / 358.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01079/0.09741, allocations: 10 MB / 368.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006213/0.1036, allocations: 3.392 MB / 371.6 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.1049, allocations: 67.81 kB / 371.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1548/0.2597, allocations: 3.824 MB / 375.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.2636, allocations: 1.477 MB / 376.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.2661, allocations: 1.071 MB / 378 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008798/0.2749, allocations: 9.192 MB / 387.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02683/0.3017, allocations: 20.51 MB / 407.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007151/0.3089, allocations: 5.049 MB / 412.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008756/0.3177, allocations: 6.133 MB / 418.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003145/0.3209, allocations: 1.395 MB / 420.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/0.3256, allocations: 1.657 MB / 421.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003864/0.3295, allocations: 2.927 MB / 424.9 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008461/0.338, allocations: 5.453 MB / 430.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.3558, allocations: 18.77 MB / 449.1 MB, free: 76 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3559, allocations: 0 / 449.1 MB, free: 76 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3559, allocations: 0 / 449.1 MB, free: 76 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000332/0.3562, allocations: 0 / 449.1 MB, free: 76 kB / 350.1 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.0325/0.3887, allocations: 12.31 MB / 461.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3888, allocations: 8.031 kB / 461.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04849/0.4373, allocations: 8.515 MB / 469.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.4489, allocations: 5.762 MB / 475.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005537/0.4495, allocations: 0.6666 MB / 476.3 MB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/0.4526, allocations: 0.865 MB / 477.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03138/0.484, allocations: 15.98 MB / 493.2 MB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002363/0.4843, allocations: 15.91 kB / 493.2 MB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/0.486, allocations: 362.2 kB / 493.5 MB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005006/0.4865, allocations: 0.5583 MB / 494.1 MB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02819/0.5147, allocations: 15.72 MB / 0.4979 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3849/0.8996, allocations: 49.04 MB / 0.5458 GB, free: 109.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.9162, allocations: 19.32 MB / 0.5646 GB, free: 96.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004169/0.9204, allocations: 3.584 MB / 0.5681 GB, free: 96.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/0.9209, allocations: 262.4 kB / 0.5684 GB, free: 95.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/0.921, allocations: 92.7 kB / 0.5685 GB, free: 95.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.713e-06/0.921, allocations: 0 / 0.5685 GB, free: 95.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02103/0.942, allocations: 11.54 MB / 0.5797 GB, free: 92.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.9421, allocations: 128.2 kB / 0.5799 GB, free: 92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005283/0.9474, allocations: 3.845 MB / 0.5836 GB, free: 90.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005189/0.9479, allocations: 101.2 kB / 0.5837 GB, free: 90.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.9498, allocations: 3.904 MB / 0.5875 GB, free: 87.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/0.951, allocations: 1.605 MB / 0.5891 GB, free: 86.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002437/0.9535, allocations: 1.469 MB / 0.5905 GB, free: 85.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.9535, allocations: 306.9 kB / 0.5908 GB, free: 85.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004529/0.9581, allocations: 3.691 MB / 0.5944 GB, free: 83.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00554/0.9636, allocations: 6.523 MB / 0.6008 GB, free: 77.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009729/0.9734, allocations: 10.83 MB / 0.6114 GB, free: 67.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.571e-05/0.9734, allocations: 28.62 kB / 0.6114 GB, free: 67.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01693/0.9904, allocations: 11.95 MB / 0.6231 GB, free: 55.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.9905, allocations: 44 kB / 0.6231 GB, free: 55.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.9906, allocations: 92 kB / 0.6232 GB, free: 55.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/0.9952, allocations: 1.632 MB / 0.6248 GB, free: 53.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/1.001, allocations: 1.665 MB / 0.6264 GB, free: 52.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.016, allocations: 17.67 MB / 0.6437 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/1.021, allocations: 0.9562 MB / 0.6446 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.022, allocations: 360 kB / 0.645 GB, free: 32.46 MB / 446.1 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005319/1.028, allocations: 3.761 MB / 0.6486 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008883/1.028, allocations: 387.1 kB / 0.649 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.041, allocations: 8.584 MB / 0.6574 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/1.042, allocations: 48 kB / 0.6574 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/1.042, allocations: 12 kB / 0.6574 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/1.042, allocations: 23.91 kB / 0.6575 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.067, allocations: 16.95 MB / 0.674 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.067, allocations: 8.234 kB / 0.674 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00318/1.07, allocations: 0.8582 MB / 0.6749 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004384/1.075, allocations: 1.53 MB / 0.6764 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005573/1.075, allocations: 99.97 kB / 0.6764 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/1.095, allocations: 17.47 MB / 0.6935 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.095, allocations: 0 / 0.6935 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/1.116, allocations: 12.24 MB / 0.7055 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/1.118, allocations: 1.096 MB / 0.7065 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.119, allocations: 87.98 kB / 0.7066 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1691/1.288, allocations: 300.3 kB / 0.7069 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00172/1.29, allocations: 318.9 kB / 0.7072 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009213/1.291, allocations: 138.6 kB / 0.7073 GB, free: 144.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005153/1.296, allocations: 2.576 MB / 0.7099 GB, free: 144.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.296, allocations: 0 / 0.7099 GB, free: 144.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008794/1.305, allocations: 2.383 MB / 0.7122 GB, free: 144 MB / 478.1 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/1.306, allocations: 265.5 kB / 0.7124 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0271/1.333, allocations: 15.48 MB / 0.7276 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.334, allocations: 3.906 kB / 0.7276 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007071/1.341, allocations: 4.463 MB / 0.7319 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/1.346, allocations: 0.7494 MB / 0.7326 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/1.372, allocations: 16.94 MB / 0.7492 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005035/1.377, allocations: 5.943 MB / 0.755 GB, free: 125.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/1.379, allocations: 428.9 kB / 0.7554 GB, free: 125.5 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/1.379, allocations: 0 / 0.7554 GB, free: 125.5 MB / 478.1 MB Notification: Performance of Templates: time 0.7033/2.082, allocations: 416.5 MB / 1.162 GB, free: 81.57 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches