Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001214, allocations: 104.5 kB / 17.58 MB, free: 5.582 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.001225/0.001225, allocations: 191.8 kB / 18.51 MB, free: 4.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 51.92 kB / 280.7 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09144, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01134/0.1028, allocations: 9.922 MB / 337.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006738/0.1096, allocations: 3.339 MB / 340.6 MB, free: 7.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.1113, allocations: 63.81 kB / 340.6 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008469/0.1199, allocations: 3.827 MB / 344.4 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.1244, allocations: 1.411 MB / 345.9 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.1271, allocations: 1.145 MB / 347 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.1378, allocations: 9.061 MB / 356.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0296/0.1674, allocations: 20.41 MB / 376.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1868/0.3542, allocations: 5.042 MB / 381.5 MB, free: 27.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/0.3665, allocations: 6.116 MB / 387.6 MB, free: 27.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006455/0.373, allocations: 1.399 MB / 389 MB, free: 27.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008011/0.381, allocations: 1.631 MB / 390.7 MB, free: 27.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006107/0.3871, allocations: 2.923 MB / 393.6 MB, free: 26.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01383/0.401, allocations: 5.456 MB / 399 MB, free: 22.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01797/0.419, allocations: 18.6 MB / 417.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.419, allocations: 0 / 417.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.419, allocations: 0.5 kB / 417.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000627/0.4197, allocations: 0 / 417.6 MB, free: 11.06 MB / 318.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.03817/0.4579, allocations: 12.31 MB / 430 MB, free: 448 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4579, allocations: 12.03 kB / 430 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04725/0.5052, allocations: 8.457 MB / 438.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.5194, allocations: 5.378 MB / 443.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007635/0.5202, allocations: 0.6644 MB / 444.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004956/0.5251, allocations: 0.8658 MB / 445.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04362/0.5688, allocations: 15.98 MB / 461.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/0.569, allocations: 15.89 kB / 461.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/0.5705, allocations: 366.2 kB / 461.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005238/0.5711, allocations: 0.5544 MB / 462.2 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02932/0.6004, allocations: 15.71 MB / 478 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08031/0.6807, allocations: 48.23 MB / 0.5139 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2209/0.9017, allocations: 19.33 MB / 0.5327 GB, free: 128.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006111/0.9078, allocations: 3.585 MB / 0.5362 GB, free: 128.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.9083, allocations: 184.2 kB / 0.5364 GB, free: 128.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.553e-05/0.9084, allocations: 86.86 kB / 0.5365 GB, free: 128.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 6.442e-06/0.9084, allocations: 0 / 0.5365 GB, free: 128.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02437/0.9327, allocations: 11.55 MB / 0.5478 GB, free: 124.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.9329, allocations: 128.6 kB / 0.5479 GB, free: 124.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/0.9392, allocations: 3.836 MB / 0.5516 GB, free: 123 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005894/0.9398, allocations: 106.5 kB / 0.5517 GB, free: 122.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/0.942, allocations: 3.896 MB / 0.5555 GB, free: 120.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.9433, allocations: 1.609 MB / 0.5571 GB, free: 118.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/0.9452, allocations: 1.472 MB / 0.5586 GB, free: 118.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.9452, allocations: 304.6 kB / 0.5588 GB, free: 117.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004308/0.9495, allocations: 3.685 MB / 0.5624 GB, free: 116.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/0.9548, allocations: 6.527 MB / 0.5688 GB, free: 111.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.9651, allocations: 10.82 MB / 0.5794 GB, free: 104.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.577e-05/0.9651, allocations: 28 kB / 0.5794 GB, free: 104.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01571/0.9809, allocations: 11.95 MB / 0.5911 GB, free: 93.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.9809, allocations: 44 kB / 0.5911 GB, free: 93.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.9811, allocations: 96.31 kB / 0.5912 GB, free: 93.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/0.9853, allocations: 1.637 MB / 0.5928 GB, free: 92.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/0.9903, allocations: 1.665 MB / 0.5944 GB, free: 90.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/1.005, allocations: 17.67 MB / 0.6117 GB, free: 71.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006416/1.011, allocations: 0.9523 MB / 0.6126 GB, free: 70.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.013, allocations: 356 kB / 0.613 GB, free: 70.57 MB / 430.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.005312/1.018, allocations: 3.758 MB / 0.6166 GB, free: 66.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/1.019, allocations: 391 kB / 0.617 GB, free: 66.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.031, allocations: 8.58 MB / 0.6254 GB, free: 57.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/1.031, allocations: 48 kB / 0.6254 GB, free: 57.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/1.031, allocations: 12 kB / 0.6255 GB, free: 57.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-05/1.031, allocations: 27.91 kB / 0.6255 GB, free: 57.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/1.054, allocations: 16.94 MB / 0.642 GB, free: 40.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.054, allocations: 7.938 kB / 0.642 GB, free: 40.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/1.057, allocations: 0.8659 MB / 0.6429 GB, free: 39.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004116/1.061, allocations: 1.528 MB / 0.6444 GB, free: 38.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/1.061, allocations: 104 kB / 0.6445 GB, free: 38.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/1.076, allocations: 17.46 MB / 0.6615 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.076, allocations: 4 kB / 0.6615 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.091, allocations: 12.23 MB / 0.6735 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/1.093, allocations: 1.1 MB / 0.6745 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005608/1.093, allocations: 87.94 kB / 0.6746 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.096, allocations: 303.7 kB / 0.6749 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000669/1.096, allocations: 319.6 kB / 0.6752 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.097, allocations: 136 kB / 0.6754 GB, free: 5.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003605/1.1, allocations: 2.574 MB / 0.6779 GB, free: 2.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.1, allocations: 3.172 kB / 0.6779 GB, free: 2.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006751/1.107, allocations: 2.387 MB / 0.6802 GB, free: 496 kB / 430.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.0005256/1.107, allocations: 255.4 kB / 0.6804 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02679/1.134, allocations: 15.48 MB / 0.6956 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.134, allocations: 0 / 0.6956 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1996/1.334, allocations: 4.464 MB / 0.6999 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004533/1.339, allocations: 0.73 MB / 0.7006 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03655/1.375, allocations: 17 MB / 0.7172 GB, free: 132.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006332/1.381, allocations: 6.045 MB / 0.7231 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00702/1.389, allocations: 3.257 MB / 0.7263 GB, free: 130.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.39, allocations: 372.7 kB / 0.7267 GB, free: 130.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/1.39, allocations: 0 / 0.7267 GB, free: 130.2 MB / 446.1 MB Notification: Performance of Templates: time 0.1042/1.494, allocations: 68.13 MB / 0.7932 GB, free: 69.69 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches