Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.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.00144/0.00144, allocations: 111.3 kB / 17.29 MB, free: 6.219 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.001428/0.001428, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.332/1.332, allocations: 222.9 MB / 241.9 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 50.33 kB / 300.8 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1016, allocations: 49.45 MB / 350.3 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01069/0.1123, allocations: 9.868 MB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006115/0.1185, allocations: 3.287 MB / 363.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.1199, allocations: 63.81 kB / 363.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008268/0.1282, allocations: 3.639 MB / 367.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.1323, allocations: 1.391 MB / 368.5 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.1347, allocations: 0.9734 MB / 369.5 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.159/0.2937, allocations: 9.099 MB / 378.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02713/0.3209, allocations: 23.44 MB / 402 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007306/0.3282, allocations: 5.125 MB / 407.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008511/0.3367, allocations: 6.171 MB / 413.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003366/0.3401, allocations: 1.398 MB / 414.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.3452, allocations: 1.635 MB / 416.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004146/0.3494, allocations: 2.919 MB / 419.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008679/0.3581, allocations: 5.457 MB / 424.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.372, allocations: 16.4 MB / 441.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.372, allocations: 0 / 441.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.372, allocations: 0 / 441.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004364/0.3725, allocations: 0 / 441.1 MB, free: 7.699 MB / 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.03487/0.4073, allocations: 12.3 MB / 453.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4074, allocations: 16.02 kB / 453.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04904/0.4565, allocations: 8.452 MB / 461.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.4688, allocations: 5.757 MB / 467.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006559/0.4695, allocations: 0.6595 MB / 468.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003473/0.473, allocations: 0.8701 MB / 469.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/0.5085, allocations: 15.99 MB / 485.2 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003374/0.5089, allocations: 15.89 kB / 485.2 MB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002699/0.5116, allocations: 374.9 kB / 485.5 MB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005761/0.5122, allocations: 0.5505 MB / 486.1 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/0.5426, allocations: 15.72 MB / 0.49 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4674/1.01, allocations: 48.22 MB / 0.5371 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.028, allocations: 19.33 MB / 0.556 GB, free: 104 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00507/1.033, allocations: 3.587 MB / 0.5595 GB, free: 103.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/1.034, allocations: 178.1 kB / 0.5597 GB, free: 103.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/1.034, allocations: 92.34 kB / 0.5598 GB, free: 103.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.871e-06/1.034, allocations: 0 / 0.5598 GB, free: 103.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.0204/1.054, allocations: 11.52 MB / 0.571 GB, free: 102.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.054, allocations: 132.1 kB / 0.5711 GB, free: 102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/1.06, allocations: 3.843 MB / 0.5749 GB, free: 100.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008757/1.06, allocations: 100.7 kB / 0.575 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00182/1.062, allocations: 3.888 MB / 0.5788 GB, free: 97.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/1.064, allocations: 1.613 MB / 0.5804 GB, free: 96.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/1.065, allocations: 1.468 MB / 0.5818 GB, free: 95.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/1.066, allocations: 304.9 kB / 0.5821 GB, free: 95.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004474/1.07, allocations: 3.688 MB / 0.5857 GB, free: 94.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005432/1.075, allocations: 6.515 MB / 0.5921 GB, free: 89.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.086, allocations: 10.82 MB / 0.6026 GB, free: 81.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.844e-05/1.086, allocations: 31.16 kB / 0.6027 GB, free: 81.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01719/1.103, allocations: 11.94 MB / 0.6143 GB, free: 70.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/1.103, allocations: 44 kB / 0.6144 GB, free: 70.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.103, allocations: 92 kB / 0.6144 GB, free: 69.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/1.108, allocations: 1.621 MB / 0.616 GB, free: 68.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/1.113, allocations: 1.669 MB / 0.6177 GB, free: 66.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/1.128, allocations: 17.63 MB / 0.6349 GB, free: 48.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/1.134, allocations: 0.964 MB / 0.6358 GB, free: 47.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.135, allocations: 356 kB / 0.6362 GB, free: 46.88 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.005349/1.141, allocations: 3.75 MB / 0.6398 GB, free: 43.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007368/1.142, allocations: 399.6 kB / 0.6402 GB, free: 42.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.153, allocations: 8.561 MB / 0.6486 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/1.154, allocations: 48 kB / 0.6486 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-05/1.154, allocations: 15.94 kB / 0.6486 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/1.154, allocations: 31.91 kB / 0.6486 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/1.179, allocations: 16.94 MB / 0.6652 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.179, allocations: 4 kB / 0.6652 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003288/1.182, allocations: 0.8581 MB / 0.666 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004066/1.186, allocations: 1.515 MB / 0.6675 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006615/1.187, allocations: 99.97 kB / 0.6676 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/1.202, allocations: 17.43 MB / 0.6846 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.202, allocations: 0 / 0.6846 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.221, allocations: 12.23 MB / 0.6966 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002486/1.223, allocations: 1.1 MB / 0.6977 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/1.224, allocations: 84 kB / 0.6977 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/1.227, allocations: 307.7 kB / 0.698 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009531/1.228, allocations: 319.6 kB / 0.6983 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004824/1.229, allocations: 139.9 kB / 0.6985 GB, free: 13.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004905/1.234, allocations: 2.582 MB / 0.701 GB, free: 11.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.234, allocations: 0 / 0.701 GB, free: 11.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009279/1.243, allocations: 2.376 MB / 0.7033 GB, free: 8.871 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.001207/1.244, allocations: 262.9 kB / 0.7036 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2042/1.448, allocations: 15.46 MB / 0.7187 GB, free: 152.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.448, allocations: 3.688 kB / 0.7187 GB, free: 152.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007872/1.456, allocations: 4.472 MB / 0.723 GB, free: 151.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004047/1.46, allocations: 0.732 MB / 0.7237 GB, free: 151 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/1.492, allocations: 20.71 MB / 0.744 GB, free: 140.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006131/1.498, allocations: 5.933 MB / 0.7498 GB, free: 138.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/1.501, allocations: 436.9 kB / 0.7502 GB, free: 138.2 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/1.501, allocations: 0 / 0.7502 GB, free: 138.2 MB / 478.1 MB Notification: Performance of Templates: time 0.8176/2.318, allocations: 416.4 MB / 1.157 GB, free: 88.99 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches