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.00108/0.00108, allocations: 106.2 kB / 18.25 MB, free: 4.77 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.001032/0.001032, allocations: 195.3 kB / 19.19 MB, free: 3.844 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.383/1.383, allocations: 205.1 MB / 225.1 MB, free: 12.3 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.001316/0.001316, allocations: 51.92 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08542, allocations: 46.63 MB / 328 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01101/0.09647, allocations: 9.911 MB / 337.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006928/0.1034, allocations: 3.342 MB / 341.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.1053, allocations: 59.81 kB / 341.3 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009538/0.115, allocations: 3.831 MB / 345.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005773/0.1208, allocations: 1.415 MB / 346.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.1242, allocations: 1.145 MB / 347.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00959/0.1338, allocations: 9.061 MB / 356.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02734/0.1612, allocations: 20.41 MB / 377.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1874/0.3486, allocations: 5.041 MB / 382.2 MB, free: 27.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.3591, allocations: 6.116 MB / 388.3 MB, free: 26.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005942/0.3651, allocations: 1.397 MB / 389.7 MB, free: 26.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007751/0.3728, allocations: 1.635 MB / 391.3 MB, free: 26.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006531/0.3794, allocations: 2.92 MB / 394.3 MB, free: 26.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01197/0.3914, allocations: 5.455 MB / 399.7 MB, free: 22.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01942/0.4108, allocations: 18.6 MB / 418.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4109, allocations: 0 / 418.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4109, allocations: 3.062 kB / 418.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005928/0.4115, allocations: 0 / 418.3 MB, free: 10.8 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.03657/0.4481, allocations: 12.31 MB / 430.6 MB, free: 300 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4481, allocations: 12.03 kB / 430.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0485/0.4966, allocations: 8.448 MB / 439.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.5098, allocations: 5.382 MB / 444.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006706/0.5105, allocations: 0.6651 MB / 445.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004068/0.5146, allocations: 0.8692 MB / 446 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04117/0.5558, allocations: 15.97 MB / 462 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004814/0.5563, allocations: 19.89 kB / 462 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00343/0.5598, allocations: 368 kB / 462.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006109/0.5604, allocations: 0.5544 MB / 462.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03375/0.5941, allocations: 15.71 MB / 478.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08973/0.6839, allocations: 48.24 MB / 0.5145 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1919/0.8758, allocations: 19.34 MB / 0.5334 GB, free: 127.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006343/0.8822, allocations: 3.586 MB / 0.5369 GB, free: 127.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.8827, allocations: 182.8 kB / 0.5371 GB, free: 127.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.8828, allocations: 86.06 kB / 0.5372 GB, free: 127.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.865e-06/0.8828, allocations: 0 / 0.5372 GB, free: 127.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02543/0.9082, allocations: 11.56 MB / 0.5484 GB, free: 124.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.9083, allocations: 124.7 kB / 0.5486 GB, free: 124.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006202/0.9145, allocations: 3.836 MB / 0.5523 GB, free: 122.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009722/0.9155, allocations: 102.5 kB / 0.5524 GB, free: 122.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.9176, allocations: 3.895 MB / 0.5562 GB, free: 120 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001748/0.9194, allocations: 1.617 MB / 0.5578 GB, free: 118.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00236/0.9218, allocations: 1.467 MB / 0.5592 GB, free: 118.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.9219, allocations: 301.1 kB / 0.5595 GB, free: 117.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005974/0.9279, allocations: 3.685 MB / 0.5631 GB, free: 116.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00642/0.9343, allocations: 6.527 MB / 0.5695 GB, free: 111.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.9457, allocations: 10.83 MB / 0.58 GB, free: 104.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.401e-05/0.9458, allocations: 28 kB / 0.5801 GB, free: 104 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0193/0.9651, allocations: 11.95 MB / 0.5917 GB, free: 93.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/0.9652, allocations: 44.31 kB / 0.5918 GB, free: 93.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/0.9654, allocations: 96 kB / 0.5919 GB, free: 93.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/0.9701, allocations: 1.632 MB / 0.5935 GB, free: 91.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006017/0.9761, allocations: 1.665 MB / 0.5951 GB, free: 90.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.992, allocations: 17.67 MB / 0.6124 GB, free: 71.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/0.9989, allocations: 0.9523 MB / 0.6133 GB, free: 70.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1, allocations: 360 kB / 0.6136 GB, free: 70.25 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.006229/1.006, allocations: 3.754 MB / 0.6173 GB, free: 66.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008112/1.007, allocations: 395 kB / 0.6177 GB, free: 66.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.02, allocations: 8.58 MB / 0.6261 GB, free: 57.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/1.02, allocations: 48 kB / 0.6261 GB, free: 57.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.779e-05/1.02, allocations: 12 kB / 0.6261 GB, free: 57.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-05/1.021, allocations: 27.73 kB / 0.6261 GB, free: 57.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03285/1.053, allocations: 16.94 MB / 0.6427 GB, free: 40.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/1.053, allocations: 7.938 kB / 0.6427 GB, free: 40.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00389/1.057, allocations: 0.8581 MB / 0.6435 GB, free: 39.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/1.062, allocations: 1.538 MB / 0.645 GB, free: 37.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009837/1.063, allocations: 99.97 kB / 0.6451 GB, free: 37.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/1.08, allocations: 17.46 MB / 0.6622 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.08, allocations: 4 kB / 0.6622 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/1.102, allocations: 12.24 MB / 0.6741 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003207/1.105, allocations: 1.096 MB / 0.6752 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.107, allocations: 91.94 kB / 0.6753 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003774/1.11, allocations: 303.7 kB / 0.6756 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/1.112, allocations: 315.6 kB / 0.6759 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007413/1.113, allocations: 147.9 kB / 0.676 GB, free: 5.121 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005221/1.118, allocations: 2.574 MB / 0.6785 GB, free: 2.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.118, allocations: 4 kB / 0.6785 GB, free: 2.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009836/1.128, allocations: 2.376 MB / 0.6809 GB, free: 168 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.001376/1.129, allocations: 258.3 kB / 0.6811 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03312/1.162, allocations: 15.48 MB / 0.6962 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/1.162, allocations: 4 kB / 0.6962 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1965/1.359, allocations: 4.461 MB / 0.7006 GB, free: 137.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.363, allocations: 0.726 MB / 0.7013 GB, free: 137.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0329/1.396, allocations: 16.96 MB / 0.7178 GB, free: 132.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006472/1.403, allocations: 5.931 MB / 0.7236 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/1.405, allocations: 436.1 kB / 0.7241 GB, free: 130.5 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/1.405, allocations: 0 / 0.7241 GB, free: 130.5 MB / 446.1 MB Notification: Performance of Templates: time 0.8103/2.215, allocations: 416.5 MB / 1.131 GB, free: 68.98 MB / 462.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/jenkins1/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/jenkins1/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