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.0009581/0.0009582, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007451/0.0007454, allocations: 90.41 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2072, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006875/0.2142, allocations: 8.564 MB / 383.7 MB, free: 38.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00558/0.2198, allocations: 3.066 MB / 386.7 MB, free: 36.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.221, allocations: 57.59 kB / 386.8 MB, free: 36.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.2226, allocations: 0.5285 MB / 387.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.2258, allocations: 1.218 MB / 388.5 MB, free: 34.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.2277, allocations: 0.9201 MB / 389.5 MB, free: 34.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01345/0.2411, allocations: 15.42 MB / 404.9 MB, free: 18.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02128/0.2624, allocations: 18.73 MB / 423.6 MB, free: 24 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006514/0.269, allocations: 3.708 MB / 427.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007509/0.2766, allocations: 4.559 MB / 431.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002163/0.2788, allocations: 0.5781 MB / 432.4 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.2827, allocations: 0.8083 MB / 433.3 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002748/0.2854, allocations: 1.869 MB / 435.1 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008519/0.294, allocations: 4.163 MB / 439.3 MB, free: 284 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.3102, allocations: 15.68 MB / 455 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3103, allocations: 3.938 kB / 455 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3103, allocations: 0 / 455 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005665/0.3108, allocations: 4 kB / 455 MB, free: 0.543 MB / 330.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.0285/0.3393, allocations: 10.75 MB / 465.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3394, allocations: 12.03 kB / 465.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04299/0.3824, allocations: 8.494 MB / 474.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.395, allocations: 5.563 MB / 479.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007987/0.3958, allocations: 0.6585 MB / 480.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003606/0.3994, allocations: 0.8749 MB / 481.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/0.4385, allocations: 15.9 MB / 497.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000392/0.4389, allocations: 11.91 kB / 497.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003071/0.442, allocations: 371.9 kB / 497.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007097/0.4428, allocations: 0.5582 MB / 498.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3511/0.7938, allocations: 15.64 MB / 0.5018 GB, free: 90.72 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07573/0.8696, allocations: 48.45 MB / 0.5491 GB, free: 48.76 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/0.8865, allocations: 19.3 MB / 0.5679 GB, free: 27.35 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004975/0.8916, allocations: 3.574 MB / 0.5714 GB, free: 23.77 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/0.8922, allocations: 179.7 kB / 0.5716 GB, free: 23.59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.122e-05/0.8923, allocations: 82.56 kB / 0.5717 GB, free: 23.5 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 1.054e-05/0.8923, allocations: 0 / 0.5717 GB, free: 23.5 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.02234/0.9147, allocations: 11.55 MB / 0.5829 GB, free: 11.82 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.9148, allocations: 125.1 kB / 0.5831 GB, free: 11.68 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007194/0.922, allocations: 3.815 MB / 0.5868 GB, free: 7.859 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009392/0.923, allocations: 105.7 kB / 0.5869 GB, free: 7.75 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.9254, allocations: 3.896 MB / 0.5907 GB, free: 3.84 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002078/0.9275, allocations: 1.615 MB / 0.5923 GB, free: 2.238 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.9286, allocations: 144 kB / 0.5924 GB, free: 2.098 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0005776/0.9292, allocations: 0.6051 MB / 0.593 GB, free: 1.488 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006478/0.9357, allocations: 3.659 MB / 0.5966 GB, free: 13.83 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/0.9459, allocations: 6.5 MB / 0.6029 GB, free: 6.031 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01737/0.9633, allocations: 10.77 MB / 0.6134 GB, free: 9.918 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/0.9635, allocations: 31.94 kB / 0.6135 GB, free: 9.887 MB / 410.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02571/0.9892, allocations: 11.89 MB / 0.6251 GB, free: 13.93 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.9894, allocations: 44 kB / 0.6251 GB, free: 13.88 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.9896, allocations: 92 kB / 0.6252 GB, free: 13.79 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005114/0.9948, allocations: 1.605 MB / 0.6268 GB, free: 12.17 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006861/1.002, allocations: 1.669 MB / 0.6284 GB, free: 10.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/1.023, allocations: 16.19 MB / 0.6442 GB, free: 9.504 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007093/1.03, allocations: 0.9484 MB / 0.6451 GB, free: 8.547 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/1.033, allocations: 360 kB / 0.6455 GB, free: 8.195 MB / 442.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.0109/1.044, allocations: 3.758 MB / 0.6492 GB, free: 4.422 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002188/1.046, allocations: 391.1 kB / 0.6495 GB, free: 4.035 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2156/1.261, allocations: 8.546 MB / 0.6579 GB, free: 140.4 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.119e-05/1.262, allocations: 48.84 kB / 0.6579 GB, free: 140.4 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.216e-05/1.262, allocations: 15.03 kB / 0.6579 GB, free: 140.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/1.262, allocations: 31.33 kB / 0.658 GB, free: 140.4 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03507/1.297, allocations: 16.88 MB / 0.6745 GB, free: 134.6 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/1.297, allocations: 4.828 kB / 0.6745 GB, free: 134.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003631/1.301, allocations: 0.8619 MB / 0.6753 GB, free: 134.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004252/1.305, allocations: 1.501 MB / 0.6768 GB, free: 134.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000927/1.306, allocations: 110.8 kB / 0.6769 GB, free: 134.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/1.321, allocations: 16 MB / 0.6925 GB, free: 123 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.321, allocations: 0 / 0.6925 GB, free: 123 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/1.34, allocations: 12.17 MB / 0.7044 GB, free: 112.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/1.343, allocations: 1.112 MB / 0.7055 GB, free: 111.1 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.344, allocations: 88 kB / 0.7055 GB, free: 111 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/1.347, allocations: 307.6 kB / 0.7058 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008912/1.348, allocations: 315.6 kB / 0.7061 GB, free: 110.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004496/1.348, allocations: 139.9 kB / 0.7063 GB, free: 110.2 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004158/1.352, allocations: 2.551 MB / 0.7088 GB, free: 107.7 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.61e-07/1.352, allocations: 0 / 0.7088 GB, free: 107.7 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007831/1.36, allocations: 2.381 MB / 0.7111 GB, free: 105.3 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.001073/1.361, allocations: 253.8 kB / 0.7113 GB, free: 105.1 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01463/1.376, allocations: 9.319 MB / 0.7204 GB, free: 95.66 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/1.376, allocations: 0 / 0.7204 GB, free: 95.66 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007848/1.384, allocations: 4.458 MB / 0.7248 GB, free: 91.14 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006378/1.39, allocations: 0.7065 MB / 0.7255 GB, free: 90.45 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/1.422, allocations: 19.93 MB / 0.7449 GB, free: 70.53 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009151/1.431, allocations: 5.935 MB / 0.7507 GB, free: 64.56 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002989/1.434, allocations: 431.3 kB / 0.7511 GB, free: 64.14 MB / 442.8 MB Notification: Performance of SimCode: time 1.012e-06/1.434, allocations: 0 / 0.7511 GB, free: 64.14 MB / 442.8 MB Notification: Performance of Templates: time 1.047/2.481, allocations: 415.3 MB / 1.157 GB, free: 152.6 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/jenkins/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