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.001489/0.001489, allocations: 103 kB / 16.51 MB, free: 6.645 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.001679/0.001679, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00096/0.00096, allocations: 47.14 kB / 300 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08563, allocations: 49.45 MB / 349.4 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005199/0.09087, allocations: 4.659 MB / 354.1 MB, free: 188 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.09362, allocations: 1.686 MB / 355.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.09398, allocations: 23.94 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.09452, allocations: 222.8 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.09588, allocations: 0.6418 MB / 356.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.0963, allocations: 215.5 kB / 356.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.09818, allocations: 2.162 MB / 359 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.09925, allocations: 1.082 MB / 360.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.09989, allocations: 0.6771 MB / 360.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.1008, allocations: 0.9455 MB / 361.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.101, allocations: 124 kB / 361.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.1015, allocations: 235.9 kB / 362.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.1019, allocations: 474.4 kB / 362.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006988/0.1026, allocations: 0.8123 MB / 363.3 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1044, allocations: 2.489 MB / 365.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1044, allocations: 0 / 365.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1044, allocations: 0 / 365.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.1045, allocations: 0 / 365.8 MB, free: 4.348 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.004047/0.1085, allocations: 2.172 MB / 368 MB, free: 2.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1085, allocations: 11.97 kB / 368 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.1103, allocations: 374.6 kB / 368.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.1119, allocations: 1.063 MB / 369.4 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.1119, allocations: 99.05 kB / 369.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.1121, allocations: 136.1 kB / 369.7 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1526/0.2647, allocations: 1.883 MB / 371.5 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.2648, allocations: 1.875 kB / 371.5 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.2649, allocations: 55.91 kB / 371.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.265, allocations: 46.17 kB / 371.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.2677, allocations: 1.694 MB / 373.3 MB, free: 23.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007698/0.2754, allocations: 5.548 MB / 378.9 MB, free: 21.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.278, allocations: 2.907 MB / 381.8 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/0.2787, allocations: 0.4909 MB / 382.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001885/0.2806, allocations: 1.531 MB / 383.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2807, allocations: 50.28 kB / 383.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.2807, allocations: 0 / 383.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002881/0.2836, allocations: 1.409 MB / 385.3 MB, free: 16.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2836, allocations: 86.58 kB / 385.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2847, allocations: 1.029 MB / 386.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.2848, allocations: 39.86 kB / 386.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.2851, allocations: 0.6816 MB / 387.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.2852, allocations: 186.4 kB / 387.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.2854, allocations: 128.4 kB / 387.4 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.2854, allocations: 329.3 kB / 387.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.2859, allocations: 360.4 kB / 388.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.2865, allocations: 0.5148 MB / 388.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2876, allocations: 0.8799 MB / 389.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2877, allocations: 4.828 kB / 389.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001432/0.2891, allocations: 1.007 MB / 390.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2891, allocations: 6.5 kB / 390.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2891, allocations: 9.469 kB / 390.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2892, allocations: 7.688 kB / 390.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.2899, allocations: 185.6 kB / 390.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.2899, allocations: 11.84 kB / 390.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.2904, allocations: 86.83 kB / 390.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.2904, allocations: 27.67 kB / 390.8 MB, free: 12.89 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.0005283/0.291, allocations: 0.526 MB / 391.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.2911, allocations: 90.84 kB / 391.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.2922, allocations: 0.6778 MB / 392.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2922, allocations: 9.688 kB / 392.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.2923, allocations: 6.781 kB / 392.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2923, allocations: 5.359 kB / 392.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.2943, allocations: 1.66 MB / 393.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2943, allocations: 1.375 kB / 393.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.2948, allocations: 93.25 kB / 393.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.2952, allocations: 146.2 kB / 394 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.2952, allocations: 22.89 kB / 394.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.2975, allocations: 2.618 MB / 396.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2975, allocations: 3.5 kB / 396.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.2993, allocations: 1.476 MB / 398.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.2995, allocations: 187.7 kB / 398.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.2996, allocations: 16.28 kB / 398.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.3002, allocations: 63.92 kB / 398.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.3003, allocations: 51.86 kB / 398.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.3003, allocations: 19.94 kB / 398.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.3011, allocations: 0.7332 MB / 399.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3011, allocations: 0 / 399.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008786/0.3019, allocations: 358.4 kB / 399.6 MB, free: 6.391 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.0001965/0.3022, allocations: 145.4 kB / 399.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.3032, allocations: 0.7677 MB / 400.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3032, allocations: 0 / 400.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008365/0.304, allocations: 0.5926 MB / 401.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.3049, allocations: 176 kB / 401.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.3083, allocations: 3.38 MB / 404.6 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.3091, allocations: 1.503 MB / 406.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000628/0.3098, allocations: 238.7 kB / 406.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3099, allocations: 55.44 kB / 406.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3099, allocations: 0 / 406.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of Templates: time 0.01846/0.3284, allocations: 11.05 MB / 417.5 MB, free: 4.57 MB / 318.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/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) Reference file matches