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.001364/0.001364, allocations: 115.2 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.001515/0.001515, 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.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 47.67 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01471/0.1321, allocations: 9.992 MB / 361.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008321/0.1404, allocations: 3.326 MB / 364.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.1422, allocations: 83.62 kB / 364.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.1529, allocations: 3.823 MB / 368.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005768/0.1587, allocations: 1.5 MB / 370.2 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.148/0.3068, allocations: 1.046 MB / 371.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01116/0.3179, allocations: 9.133 MB / 380.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02271/0.3407, allocations: 20.33 MB / 400.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008397/0.3491, allocations: 5.065 MB / 405.8 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008835/0.358, allocations: 6.082 MB / 411.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003046/0.3611, allocations: 1.398 MB / 413.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/0.3656, allocations: 1.633 MB / 414.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00338/0.369, allocations: 2.926 MB / 417.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007585/0.3766, allocations: 5.448 MB / 423.3 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.3928, allocations: 18.84 MB / 442.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3928, allocations: 0 / 442.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3928, allocations: 0 / 442.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000357/0.3932, allocations: 0 / 442.1 MB, free: 7.238 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.03254/0.4257, allocations: 12.26 MB / 454.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4258, allocations: 15.59 kB / 454.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04666/0.4725, allocations: 8.507 MB / 462.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/0.4861, allocations: 5.881 MB / 468.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005474/0.4867, allocations: 0.6603 MB / 469.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003075/0.4898, allocations: 0.8638 MB / 470.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03091/0.5207, allocations: 15.98 MB / 486.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001992/0.5209, allocations: 7.906 kB / 486.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.5221, allocations: 369.1 kB / 486.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000456/0.5226, allocations: 0.5621 MB / 487.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/0.5493, allocations: 15.72 MB / 0.4912 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3718/0.9211, allocations: 47.71 MB / 0.5378 GB, free: 117 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/0.9384, allocations: 19.33 MB / 0.5566 GB, free: 103.8 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004818/0.9433, allocations: 3.592 MB / 0.5602 GB, free: 103.8 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004068/0.9437, allocations: 178.2 kB / 0.5603 GB, free: 103.7 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.9438, allocations: 90.92 kB / 0.5604 GB, free: 103.6 MB / 446.2 MB Notification: Performance of pre-optimization done (n=468): time 6.542e-06/0.9438, allocations: 1.156 kB / 0.5604 GB, free: 103.6 MB / 446.2 MB Notification: Performance of matching and sorting (n=468): time 0.02042/0.9642, allocations: 11.54 MB / 0.5717 GB, free: 101.9 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.9643, allocations: 127.4 kB / 0.5718 GB, free: 101.8 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/0.9692, allocations: 3.845 MB / 0.5756 GB, free: 100.5 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0007211/0.9699, allocations: 102 kB / 0.5757 GB, free: 100.4 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.9716, allocations: 3.898 MB / 0.5795 GB, free: 97.5 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/0.9729, allocations: 1.607 MB / 0.581 GB, free: 96.27 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/0.9748, allocations: 1.468 MB / 0.5825 GB, free: 95.57 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.9749, allocations: 301.1 kB / 0.5827 GB, free: 95.28 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/0.9792, allocations: 3.689 MB / 0.5864 GB, free: 93.99 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/0.9849, allocations: 6.526 MB / 0.5927 GB, free: 89.02 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/0.9964, allocations: 10.83 MB / 0.6033 GB, free: 80.89 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.9966, allocations: 27.03 kB / 0.6033 GB, free: 80.89 MB / 446.2 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01929/1.016, allocations: 11.95 MB / 0.615 GB, free: 69.65 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/1.016, allocations: 44 kB / 0.615 GB, free: 69.61 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/1.016, allocations: 92 kB / 0.6151 GB, free: 69.52 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004332/1.02, allocations: 1.618 MB / 0.6167 GB, free: 67.88 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005723/1.026, allocations: 1.669 MB / 0.6183 GB, free: 66.21 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.042, allocations: 17.65 MB / 0.6356 GB, free: 47.74 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005384/1.047, allocations: 0.9601 MB / 0.6365 GB, free: 46.77 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.048, allocations: 360 kB / 0.6369 GB, free: 46.42 MB / 446.2 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.006628/1.055, allocations: 3.755 MB / 0.6405 GB, free: 42.65 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.056, allocations: 395.1 kB / 0.6409 GB, free: 42.26 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.071, allocations: 8.569 MB / 0.6493 GB, free: 33.61 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/1.071, allocations: 51.94 kB / 0.6493 GB, free: 33.56 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.111e-05/1.071, allocations: 15.94 kB / 0.6493 GB, free: 33.54 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/1.071, allocations: 23.91 kB / 0.6494 GB, free: 33.52 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/1.099, allocations: 16.79 MB / 0.6657 GB, free: 16.7 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.099, allocations: 4 kB / 0.6658 GB, free: 16.69 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003127/1.102, allocations: 0.8581 MB / 0.6666 GB, free: 15.83 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004025/1.106, allocations: 1.515 MB / 0.6681 GB, free: 14.3 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000388/1.107, allocations: 103.9 kB / 0.6682 GB, free: 14.2 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/1.122, allocations: 17.45 MB / 0.6852 GB, free: 11.92 MB / 462.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.122, allocations: 3.938 kB / 0.6852 GB, free: 11.91 MB / 462.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/1.141, allocations: 12.24 MB / 0.6972 GB, free: 15.46 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/1.145, allocations: 1.1 MB / 0.6982 GB, free: 14.34 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008036/1.146, allocations: 88 kB / 0.6983 GB, free: 14.25 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.148, allocations: 307.6 kB / 0.6986 GB, free: 13.95 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/1.149, allocations: 319.6 kB / 0.6989 GB, free: 13.63 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/1.149, allocations: 147.4 kB / 0.6991 GB, free: 13.49 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.003597/1.153, allocations: 2.57 MB / 0.7016 GB, free: 10.93 MB / 478.2 MB Notification: Performance of sort global known variables: time 2.1e-07/1.153, allocations: 0 / 0.7016 GB, free: 10.93 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.006293/1.159, allocations: 2.377 MB / 0.7039 GB, free: 8.539 MB / 478.2 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.000582/1.16, allocations: 269.6 kB / 0.7042 GB, free: 8.266 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.1644/1.324, allocations: 9.374 MB / 0.7133 GB, free: 151.8 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.324, allocations: 2.375 kB / 0.7133 GB, free: 151.8 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.007198/1.331, allocations: 4.469 MB / 0.7177 GB, free: 151 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.335, allocations: 0.7372 MB / 0.7184 GB, free: 150.9 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/1.36, allocations: 16.82 MB / 0.7348 GB, free: 145.4 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005539/1.366, allocations: 6.044 MB / 0.7407 GB, free: 143.2 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.006091/1.372, allocations: 3.257 MB / 0.7439 GB, free: 143 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.373, allocations: 368.5 kB / 0.7443 GB, free: 143 MB / 478.2 MB Notification: Performance of SimCode: time 9.82e-07/1.373, allocations: 0 / 0.7443 GB, free: 143 MB / 478.2 MB Notification: Performance of Templates: time 0.08782/1.461, allocations: 62.73 MB / 0.8055 GB, free: 89.45 MB / 478.2 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 -s gbode -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