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.00107/0.00107, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001038/0.001038, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.261/1.261, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001219/0.00122, allocations: 51.92 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07399/0.07522, allocations: 46.63 MB / 328.7 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009761/0.08501, allocations: 9.922 MB / 338.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.0906, allocations: 3.35 MB / 342 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.09171, allocations: 63.81 kB / 342.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007885/0.09962, allocations: 3.827 MB / 345.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.1034, allocations: 1.407 MB / 347.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.1058, allocations: 1.137 MB / 348.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008912/0.1147, allocations: 9.142 MB / 357.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02539/0.1401, allocations: 20.33 MB / 377.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1428/0.283, allocations: 5.049 MB / 383 MB, free: 27.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008674/0.2917, allocations: 6.084 MB / 389 MB, free: 27.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004022/0.2957, allocations: 1.396 MB / 390.4 MB, free: 27.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005428/0.3012, allocations: 1.633 MB / 392.1 MB, free: 27.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003784/0.305, allocations: 2.923 MB / 395 MB, free: 26.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006334/0.3113, allocations: 5.454 MB / 400.5 MB, free: 22.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.322, allocations: 18.69 MB / 419.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3221, allocations: 0 / 419.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3221, allocations: 0 / 419.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003505/0.3224, allocations: 3.688 kB / 419.1 MB, free: 11.09 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.02789/0.3503, allocations: 12.26 MB / 431.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3504, allocations: 8.031 kB / 431.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04796/0.3984, allocations: 8.503 MB / 439.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.4124, allocations: 5.383 MB / 445.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006791/0.4131, allocations: 0.6612 MB / 446 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/0.4167, allocations: 0.8697 MB / 446.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03471/0.4514, allocations: 15.97 MB / 462.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.4517, allocations: 11.89 kB / 462.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002709/0.4545, allocations: 369.4 kB / 463.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005832/0.4551, allocations: 0.5544 MB / 463.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02858/0.4836, allocations: 15.72 MB / 479.5 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07897/0.5627, allocations: 47.71 MB / 0.5148 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1647/0.7274, allocations: 19.34 MB / 0.5337 GB, free: 127.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005029/0.7325, allocations: 3.593 MB / 0.5372 GB, free: 127.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.7329, allocations: 179.5 kB / 0.5374 GB, free: 127.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.7329, allocations: 89.62 kB / 0.5375 GB, free: 127.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.404e-06/0.733, allocations: 0.8906 kB / 0.5375 GB, free: 127.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02074/0.7537, allocations: 11.55 MB / 0.5487 GB, free: 123.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.7538, allocations: 128.6 kB / 0.5489 GB, free: 123.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/0.7585, allocations: 3.835 MB / 0.5526 GB, free: 122.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003771/0.7589, allocations: 103.9 kB / 0.5527 GB, free: 122.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.7604, allocations: 3.896 MB / 0.5565 GB, free: 119.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009523/0.7614, allocations: 1.61 MB / 0.5581 GB, free: 118.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/0.7631, allocations: 1.466 MB / 0.5595 GB, free: 117.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.7632, allocations: 305 kB / 0.5598 GB, free: 117.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004401/0.7676, allocations: 3.691 MB / 0.5634 GB, free: 116 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005103/0.7727, allocations: 6.521 MB / 0.5698 GB, free: 111 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.7832, allocations: 10.83 MB / 0.5804 GB, free: 103.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-05/0.7833, allocations: 27.66 kB / 0.5804 GB, free: 103.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01736/0.8006, allocations: 11.95 MB / 0.592 GB, free: 93.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.8007, allocations: 48 kB / 0.5921 GB, free: 93.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.8009, allocations: 92 kB / 0.5922 GB, free: 93.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.8053, allocations: 1.623 MB / 0.5938 GB, free: 91.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/0.8109, allocations: 1.665 MB / 0.5954 GB, free: 90.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.8261, allocations: 17.65 MB / 0.6126 GB, free: 71.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00551/0.8317, allocations: 0.9562 MB / 0.6136 GB, free: 70.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/0.833, allocations: 360.8 kB / 0.6139 GB, free: 70.33 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.006089/0.8391, allocations: 3.758 MB / 0.6176 GB, free: 66.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.8402, allocations: 395 kB / 0.618 GB, free: 66.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.8538, allocations: 8.561 MB / 0.6263 GB, free: 57.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.8539, allocations: 52 kB / 0.6264 GB, free: 57.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.345e-05/0.8539, allocations: 16 kB / 0.6264 GB, free: 57.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-05/0.854, allocations: 23.91 kB / 0.6264 GB, free: 57.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/0.8802, allocations: 16.78 MB / 0.6428 GB, free: 40.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.8803, allocations: 12.19 kB / 0.6428 GB, free: 40.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/0.8835, allocations: 0.8581 MB / 0.6436 GB, free: 39.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004093/0.8876, allocations: 1.519 MB / 0.6451 GB, free: 38.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/0.888, allocations: 95.98 kB / 0.6452 GB, free: 38.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/0.9028, allocations: 17.46 MB / 0.6623 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9028, allocations: 3.938 kB / 0.6623 GB, free: 19.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/0.9204, allocations: 12.24 MB / 0.6742 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/0.9232, allocations: 1.1 MB / 0.6753 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009417/0.9241, allocations: 91.94 kB / 0.6754 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/0.9268, allocations: 307.6 kB / 0.6757 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007344/0.9276, allocations: 319.6 kB / 0.676 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000357/0.9279, allocations: 136 kB / 0.6761 GB, free: 5.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003616/0.9316, allocations: 2.574 MB / 0.6786 GB, free: 2.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9316, allocations: 0 / 0.6786 GB, free: 2.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006233/0.9378, allocations: 2.377 MB / 0.6809 GB, free: 476 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.0005717/0.9384, allocations: 265.5 kB / 0.6812 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01438/0.9528, allocations: 9.383 MB / 0.6904 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9528, allocations: 0 / 0.6904 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006981/0.9598, allocations: 4.476 MB / 0.6947 GB, free: 2.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/0.9637, allocations: 0.7341 MB / 0.6954 GB, free: 1.434 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1765/1.14, allocations: 16.81 MB / 0.7119 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008494/1.149, allocations: 6.044 MB / 0.7178 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008014/1.157, allocations: 3.257 MB / 0.7209 GB, free: 131.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/1.158, allocations: 375.1 kB / 0.7213 GB, free: 131.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.91e-07/1.159, allocations: 0 / 0.7213 GB, free: 131.1 MB / 446.1 MB Notification: Performance of Templates: time 0.09125/1.25, allocations: 62.71 MB / 0.7825 GB, free: 80.58 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 -s gbode -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