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.00136/0.001361, allocations: 115.1 kB / 17.69 MB, free: 5.309 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.00148/0.00148, allocations: 191 kB / 18.63 MB, free: 4.375 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.437/1.437, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001015, allocations: 45.67 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09434, allocations: 49.45 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005417/0.0998, allocations: 4.645 MB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003035/0.1029, allocations: 1.689 MB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004716/0.1034, allocations: 27.88 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006729/0.1041, allocations: 262.3 kB / 358.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.1056, allocations: 0.6918 MB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1061, allocations: 219.5 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.1083, allocations: 1.883 MB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.1096, allocations: 1.292 MB / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009421/0.1106, allocations: 0.7865 MB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1117, allocations: 0.9846 MB / 364 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.112, allocations: 188 kB / 364.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.1126, allocations: 311.8 kB / 364.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004259/0.113, allocations: 0.5298 MB / 365 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.1139, allocations: 0.9021 MB / 365.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.1161, allocations: 2.566 MB / 368.5 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1161, allocations: 4 kB / 368.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1161, allocations: 0 / 368.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.582e-05/0.1161, allocations: 0 / 368.5 MB, free: 2.645 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.004336/0.1205, allocations: 2.164 MB / 370.6 MB, free: 436 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1205, allocations: 16.03 kB / 370.7 MB, free: 420 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.1223, allocations: 366.6 kB / 371 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1534/0.2756, allocations: 1.093 MB / 372.1 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.2758, allocations: 101.4 kB / 372.2 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/0.2762, allocations: 133.5 kB / 372.3 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.28, allocations: 1.892 MB / 374.2 MB, free: 23.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.28, allocations: 0.7812 kB / 374.2 MB, free: 23.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.2802, allocations: 55.56 kB / 374.3 MB, free: 23.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.2802, allocations: 46.56 kB / 374.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.283, allocations: 1.692 MB / 376 MB, free: 23.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008642/0.2916, allocations: 5.493 MB / 381.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.2941, allocations: 2.906 MB / 384.4 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.2947, allocations: 0.5016 MB / 384.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.2969, allocations: 1.52 MB / 386.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.297, allocations: 46.94 kB / 386.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.297, allocations: 0 / 386.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002895/0.2999, allocations: 1.406 MB / 387.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.2999, allocations: 87.33 kB / 388 MB, free: 15.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3011, allocations: 1.031 MB / 389 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3012, allocations: 36.67 kB / 389 MB, free: 14.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.3015, allocations: 0.6817 MB / 389.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.3016, allocations: 185.1 kB / 389.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.3018, allocations: 124.5 kB / 390 MB, free: 14.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.3018, allocations: 334 kB / 390.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.3023, allocations: 360.5 kB / 390.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.3029, allocations: 0.5182 MB / 391.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.304, allocations: 0.8775 MB / 392.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.304, allocations: 1.562 kB / 392.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001475/0.3055, allocations: 1.002 MB / 393.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3055, allocations: 12.89 kB / 393.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3055, allocations: 5.938 kB / 393.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.3055, allocations: 9 kB / 393.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.3063, allocations: 186.7 kB / 393.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.3063, allocations: 12.25 kB / 393.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.3069, allocations: 90.55 kB / 393.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.307, allocations: 24.59 kB / 393.4 MB, free: 11.94 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.0006742/0.3077, allocations: 0.5317 MB / 394 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.3078, allocations: 88.12 kB / 394.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.3089, allocations: 0.6836 MB / 394.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3089, allocations: 5.5 kB / 394.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3089, allocations: 2.75 kB / 394.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3089, allocations: 7.922 kB / 394.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.3115, allocations: 1.654 MB / 396.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3115, allocations: 0 / 396.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.3119, allocations: 98.2 kB / 396.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/0.3123, allocations: 149.1 kB / 396.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/0.3124, allocations: 14.22 kB / 396.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.3147, allocations: 2.854 MB / 399.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3147, allocations: 0 / 399.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.3165, allocations: 1.484 MB / 401 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.3167, allocations: 191.9 kB / 401.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3169, allocations: 12 kB / 401.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.3174, allocations: 63.94 kB / 401.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3175, allocations: 43.92 kB / 401.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.3176, allocations: 19.98 kB / 401.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007344/0.3183, allocations: 0.7331 MB / 402.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3183, allocations: 0 / 402.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008868/0.3192, allocations: 362.5 kB / 402.4 MB, free: 4.398 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.0002142/0.3194, allocations: 138.7 kB / 402.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3205, allocations: 0.7818 MB / 403.3 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3205, allocations: 1.125 kB / 403.3 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.3214, allocations: 0.5922 MB / 403.9 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.3222, allocations: 186 kB / 404.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.3259, allocations: 2.764 MB / 406.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.327, allocations: 1.491 MB / 408.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005794/0.3276, allocations: 234.7 kB / 408.6 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.3278, allocations: 63.42 kB / 408.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of SimCode: time 2.274e-06/0.3278, allocations: 4 kB / 408.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Templates: time 0.02027/0.3481, allocations: 11.6 MB / 420.3 MB, free: 2.656 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 -s cvode -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