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.001095/0.001095, allocations: 110 kB / 17.68 MB, free: 5.332 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.001159/0.001159, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.306/1.306, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 51.78 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07919/0.08025, allocations: 49.43 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005585/0.08588, allocations: 4.644 MB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.08871, allocations: 1.697 MB / 357.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.08909, allocations: 23.94 kB / 357.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.08967, allocations: 262.3 kB / 358.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.0912, allocations: 0.6841 MB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.09171, allocations: 230.4 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.0938, allocations: 1.887 MB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.0952, allocations: 1.292 MB / 362.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009242/0.09614, allocations: 0.7865 MB / 363 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.09724, allocations: 0.9846 MB / 364 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.09748, allocations: 184 kB / 364.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.09809, allocations: 307.9 kB / 364.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.09859, allocations: 0.5414 MB / 365 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.0997, allocations: 0.8905 MB / 365.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.102, allocations: 2.566 MB / 368.5 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1021, allocations: 3.938 kB / 368.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1021, allocations: 0 / 368.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.1021, allocations: 0 / 368.5 MB, free: 2.637 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.00436/0.1065, allocations: 2.175 MB / 370.6 MB, free: 416 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1065, allocations: 8.031 kB / 370.6 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.1083, allocations: 370.6 kB / 371 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1484/0.2567, allocations: 1.091 MB / 372.1 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2568, allocations: 102.6 kB / 372.2 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004298/0.2573, allocations: 135.3 kB / 372.3 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/0.2609, allocations: 1.888 MB / 374.2 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.2609, allocations: 0.6562 kB / 374.2 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.2611, allocations: 52 kB / 374.3 MB, free: 23.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/0.2611, allocations: 50.89 kB / 374.3 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.2637, allocations: 1.691 MB / 376 MB, free: 23.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008031/0.2717, allocations: 5.495 MB / 381.5 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.2741, allocations: 2.907 MB / 384.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.2748, allocations: 0.5017 MB / 384.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/0.2768, allocations: 1.525 MB / 386.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2769, allocations: 40.03 kB / 386.5 MB, free: 16.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.2769, allocations: 0 / 386.5 MB, free: 16.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002833/0.2797, allocations: 1.415 MB / 387.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2798, allocations: 83.7 kB / 388 MB, free: 15.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2809, allocations: 1.025 MB / 389 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.281, allocations: 36.83 kB / 389 MB, free: 14.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.2812, allocations: 0.6782 MB / 389.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.2813, allocations: 192.3 kB / 389.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.2815, allocations: 124.5 kB / 390 MB, free: 14.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.2816, allocations: 338.5 kB / 390.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.2821, allocations: 357.3 kB / 390.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.2826, allocations: 0.5197 MB / 391.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.2837, allocations: 0.873 MB / 392.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2837, allocations: 3.938 kB / 392.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001338/0.285, allocations: 1.004 MB / 393.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2851, allocations: 11.53 kB / 393.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2851, allocations: 6.281 kB / 393.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.2851, allocations: 6.688 kB / 393.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.2858, allocations: 181.3 kB / 393.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2858, allocations: 17.58 kB / 393.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.2863, allocations: 81.5 kB / 393.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.2864, allocations: 36.61 kB / 393.4 MB, free: 11.98 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.0005621/0.287, allocations: 0.524 MB / 394 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.2871, allocations: 88.02 kB / 394 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.2882, allocations: 0.6895 MB / 394.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2882, allocations: 14.59 kB / 394.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2882, allocations: 2.625 kB / 394.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2883, allocations: 0 / 394.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.2904, allocations: 1.664 MB / 396.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2904, allocations: 0 / 396.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.2909, allocations: 94.75 kB / 396.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003668/0.2912, allocations: 150.6 kB / 396.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.2913, allocations: 15.95 kB / 396.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.2936, allocations: 2.836 MB / 399.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2936, allocations: 4.219 kB / 399.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.2953, allocations: 1.475 MB / 401 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.2956, allocations: 195.1 kB / 401.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.2957, allocations: 27.92 kB / 401.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.2962, allocations: 55.94 kB / 401.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2963, allocations: 51.92 kB / 401.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.2964, allocations: 16 kB / 401.3 MB, free: 5.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007133/0.2971, allocations: 0.7409 MB / 402.1 MB, free: 4.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2971, allocations: 0 / 402.1 MB, free: 4.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008691/0.298, allocations: 356 kB / 402.4 MB, free: 4.383 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.0002118/0.2982, allocations: 138.1 kB / 402.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2992, allocations: 0.7845 MB / 403.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2992, allocations: 4.188 kB / 403.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.3001, allocations: 0.5803 MB / 403.9 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008284/0.3009, allocations: 174.6 kB / 404.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.3046, allocations: 2.779 MB / 406.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.3058, allocations: 1.495 MB / 408.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005748/0.3064, allocations: 230.7 kB / 408.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3066, allocations: 55.44 kB / 408.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3066, allocations: 0 / 408.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of Templates: time 0.02008/0.3267, allocations: 11.6 MB / 420.2 MB, free: 2.637 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 gbode -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