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.001515/0.001515, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001813/0.001813, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.294/1.294, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 53.95 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09147, allocations: 49.44 MB / 350.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005552/0.09706, allocations: 4.641 MB / 354.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.09949, allocations: 1.709 MB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.09975, allocations: 23.94 kB / 356.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.1003, allocations: 258.3 kB / 356.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.1016, allocations: 0.688 MB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.102, allocations: 224.7 kB / 357.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.1038, allocations: 1.883 MB / 359.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.105, allocations: 1.284 MB / 360.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.1057, allocations: 0.7905 MB / 361.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009567/0.1067, allocations: 0.9807 MB / 362.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.1069, allocations: 184 kB / 362.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.1074, allocations: 315.9 kB / 363 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.1078, allocations: 0.5336 MB / 363.6 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008031/0.1087, allocations: 0.8943 MB / 364.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.1106, allocations: 2.547 MB / 367 MB, free: 3.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1106, allocations: 0 / 367 MB, free: 3.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1106, allocations: 4 kB / 367 MB, free: 3.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.1107, allocations: 0 / 367 MB, free: 3.387 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.004099/0.1148, allocations: 2.172 MB / 369.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1148, allocations: 12.03 kB / 369.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.1165, allocations: 370.6 kB / 369.5 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1484/0.265, allocations: 1.063 MB / 370.6 MB, free: 24.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/0.2651, allocations: 101.1 kB / 370.7 MB, free: 24.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.2654, allocations: 134.6 kB / 370.8 MB, free: 24.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.2686, allocations: 1.884 MB / 372.7 MB, free: 23.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.2686, allocations: 0.625 kB / 372.7 MB, free: 23.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.2687, allocations: 57.47 kB / 372.8 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.583e-05/0.2688, allocations: 48.28 kB / 372.8 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.2715, allocations: 1.693 MB / 374.5 MB, free: 23.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007832/0.2793, allocations: 5.551 MB / 380.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.2819, allocations: 2.903 MB / 383 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/0.2826, allocations: 0.4942 MB / 383.5 MB, free: 17.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.2845, allocations: 1.536 MB / 385 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2845, allocations: 42 kB / 385 MB, free: 16.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.2845, allocations: 4 kB / 385 MB, free: 16.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.00284/0.2874, allocations: 1.42 MB / 386.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.2874, allocations: 81.95 kB / 386.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2885, allocations: 1.029 MB / 387.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.2886, allocations: 40.14 kB / 387.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.2889, allocations: 0.6779 MB / 388.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.289, allocations: 180.1 kB / 388.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2892, allocations: 128.8 kB / 388.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.2892, allocations: 334.7 kB / 388.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.2898, allocations: 360.6 kB / 389.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.2903, allocations: 0.5142 MB / 389.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.2914, allocations: 0.8761 MB / 390.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2915, allocations: 4.938 kB / 390.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001288/0.2928, allocations: 1.012 MB / 391.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2928, allocations: 8.469 kB / 391.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2928, allocations: 7.938 kB / 391.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2928, allocations: 7.875 kB / 391.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.2935, allocations: 175.9 kB / 391.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.2935, allocations: 16.92 kB / 391.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.294, allocations: 80.59 kB / 392 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.2941, allocations: 28.7 kB / 392 MB, free: 12.16 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.0005688/0.2946, allocations: 0.5318 MB / 392.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2948, allocations: 93.72 kB / 392.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2959, allocations: 0.6812 MB / 393.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2959, allocations: 6.875 kB / 393.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.2959, allocations: 2.75 kB / 393.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2959, allocations: 0 / 393.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.2979, allocations: 1.661 MB / 395 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2979, allocations: 1.469 kB / 395 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.2983, allocations: 93.25 kB / 395.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/0.2987, allocations: 151.7 kB / 395.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.2988, allocations: 27.69 kB / 395.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.301, allocations: 2.836 MB / 398.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.301, allocations: 3.906 kB / 398.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.3027, allocations: 1.483 MB / 399.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3029, allocations: 188 kB / 399.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.303, allocations: 15.98 kB / 399.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.3035, allocations: 66.12 kB / 399.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3036, allocations: 47.92 kB / 399.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.3037, allocations: 19.98 kB / 399.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006669/0.3043, allocations: 0.7257 MB / 400.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3043, allocations: 3.5 kB / 400.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007724/0.3051, allocations: 362.3 kB / 401 MB, free: 4.895 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.0001836/0.3053, allocations: 150.2 kB / 401.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3064, allocations: 0.8361 MB / 402 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3065, allocations: 1.125 kB / 402 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.3073, allocations: 0.5844 MB / 402.5 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.3081, allocations: 182.5 kB / 402.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.311, allocations: 2.794 MB / 405.5 MB, free: 312 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.3119, allocations: 1.499 MB / 407 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005521/0.3125, allocations: 230.7 kB / 407.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3127, allocations: 59.42 kB / 407.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3127, allocations: 0 / 407.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of Templates: time 0.01873/0.3314, allocations: 11.64 MB / 418.9 MB, free: 3.016 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