Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0033/0.0033, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.584/4.584, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001732/0.001732, allocations: 90.83 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006409/0.0006415, allocations: 11.98 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.145, allocations: 47.59 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.02101/0.1661, allocations: 7.923 MB / 382.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1789, allocations: 3.123 MB / 385.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.1813, allocations: 51.88 kB / 385.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004182/0.1856, allocations: 0.5791 MB / 386.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009215/0.1949, allocations: 1.13 MB / 387.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005537/0.2005, allocations: 0.9157 MB / 388.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.4322/0.6327, allocations: 12.22 MB / 400.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0579/0.6907, allocations: 15.2 MB / 415.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.7018, allocations: 3.297 MB / 419 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01585/0.7178, allocations: 4.107 MB / 423.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004462/0.7223, allocations: 0.582 MB / 423.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008059/0.7305, allocations: 0.773 MB / 424.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006331/0.7369, allocations: 1.799 MB / 426.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007129/0.7441, allocations: 1.787 MB / 428 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03614/0.7803, allocations: 15.66 MB / 443.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7804, allocations: 0 / 443.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.999e-06/0.7804, allocations: 4 kB / 443.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005888/0.781, allocations: 0 / 443.7 MB, free: 8.203 MB / 314.7 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.07485/0.8559, allocations: 10.8 MB / 454.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.856, allocations: 16.03 kB / 454.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1318/0.9879, allocations: 8.537 MB / 463.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02967/1.018, allocations: 5.492 MB / 468.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001607/1.019, allocations: 0.6584 MB / 469.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007226/1.027, allocations: 0.8632 MB / 470.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08609/1.113, allocations: 15.84 MB / 485.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007278/1.114, allocations: 7.906 kB / 485.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006005/1.12, allocations: 371.9 kB / 486.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/1.121, allocations: 0.566 MB / 486.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08114/1.202, allocations: 15.64 MB / 0.4907 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.069/2.271, allocations: 48.42 MB / 0.538 GB, free: 98.48 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05104/2.322, allocations: 19.29 MB / 0.5568 GB, free: 85.29 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/2.324, allocations: 180.7 kB / 0.557 GB, free: 85.2 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/2.324, allocations: 86.81 kB / 0.5571 GB, free: 85.15 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 1.659e-05/2.324, allocations: 0 / 0.5571 GB, free: 85.15 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.06591/2.39, allocations: 11.49 MB / 0.5683 GB, free: 84.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/2.39, allocations: 127.9 kB / 0.5684 GB, free: 84.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0156/2.406, allocations: 3.816 MB / 0.5722 GB, free: 83.52 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001481/2.407, allocations: 105 kB / 0.5723 GB, free: 83.43 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005304/2.413, allocations: 3.838 MB / 0.576 GB, free: 80.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003985/2.417, allocations: 1.613 MB / 0.5776 GB, free: 79.25 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002141/2.419, allocations: 147.2 kB / 0.5777 GB, free: 79.13 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.001302/2.42, allocations: 0.6077 MB / 0.5783 GB, free: 78.7 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01546/2.436, allocations: 3.662 MB / 0.5819 GB, free: 77.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01924/2.455, allocations: 6.457 MB / 0.5882 GB, free: 72.48 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01964/2.475, allocations: 5.197 MB / 0.5933 GB, free: 70.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/2.475, allocations: 33.67 kB / 0.5933 GB, free: 70.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.05601/2.531, allocations: 11.78 MB / 0.6048 GB, free: 62.39 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/2.531, allocations: 47.95 kB / 0.6048 GB, free: 62.35 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002599/2.532, allocations: 92 kB / 0.6049 GB, free: 62.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/2.546, allocations: 1.621 MB / 0.6065 GB, free: 60.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01841/2.565, allocations: 1.669 MB / 0.6081 GB, free: 58.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06493/2.63, allocations: 16.54 MB / 0.6243 GB, free: 41.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02185/2.652, allocations: 0.9446 MB / 0.6252 GB, free: 40.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002861/2.655, allocations: 367.9 kB / 0.6256 GB, free: 40.31 MB / 410.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01672/2.672, allocations: 3.754 MB / 0.6292 GB, free: 36.54 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002608/2.674, allocations: 391.1 kB / 0.6296 GB, free: 36.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04461/2.719, allocations: 8.561 MB / 0.638 GB, free: 27.51 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.7e-05/2.719, allocations: 48 kB / 0.638 GB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.965e-05/2.719, allocations: 12 kB / 0.638 GB, free: 27.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001912/2.72, allocations: 25.03 kB / 0.638 GB, free: 27.43 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08435/2.804, allocations: 16.88 MB / 0.6545 GB, free: 10.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001041/2.804, allocations: 8.031 kB / 0.6545 GB, free: 10.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01241/2.817, allocations: 0.862 MB / 0.6554 GB, free: 9.613 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01427/2.831, allocations: 1.505 MB / 0.6569 GB, free: 8.09 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001723/2.833, allocations: 99.98 kB / 0.6569 GB, free: 7.992 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05234/2.885, allocations: 16.36 MB / 0.6729 GB, free: 6.828 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/2.885, allocations: 4 kB / 0.6729 GB, free: 6.824 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06314/2.948, allocations: 12.37 MB / 0.685 GB, free: 10.18 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006943/2.955, allocations: 1.108 MB / 0.6861 GB, free: 9.043 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002895/2.958, allocations: 91.98 kB / 0.6862 GB, free: 8.953 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009069/2.967, allocations: 307.7 kB / 0.6865 GB, free: 8.652 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002901/2.97, allocations: 315.6 kB / 0.6868 GB, free: 8.344 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001817/2.972, allocations: 132 kB / 0.6869 GB, free: 8.215 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01203/2.984, allocations: 2.554 MB / 0.6894 GB, free: 5.664 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.344e-06/2.985, allocations: 0 / 0.6894 GB, free: 5.664 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01994/3.004, allocations: 2.38 MB / 0.6917 GB, free: 3.277 MB / 442.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002429/3.007, allocations: 259.2 kB / 0.692 GB, free: 3.02 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.4982/3.505, allocations: 9.303 MB / 0.7011 GB, free: 133.4 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.19e-05/3.505, allocations: 4.594 kB / 0.7011 GB, free: 133.4 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02229/3.528, allocations: 4.464 MB / 0.7054 GB, free: 132 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/3.538, allocations: 0.6324 MB / 0.706 GB, free: 131.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08454/3.622, allocations: 19.89 MB / 0.7255 GB, free: 122 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02218/3.645, allocations: 6.068 MB / 0.7314 GB, free: 119.7 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006102/3.651, allocations: 430 kB / 0.7318 GB, free: 119.7 MB / 442.8 MB Notification: Performance of SimCode: time 3.286e-06/3.651, allocations: 0 / 0.7318 GB, free: 119.7 MB / 442.8 MB Notification: Performance of Templates: time 2.052/5.703, allocations: 395.7 MB / 1.118 GB, free: 90.8 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches