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.0009988/0.0009985, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.0009795/0.0009795, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.436/1.436, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001192/0.001192, allocations: 51.91 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 46.61 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.2727/0.3872, allocations: 9.924 MB / 385.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009267/0.3965, allocations: 3.342 MB / 388.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.3982, allocations: 61.47 kB / 388.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009302/0.4075, allocations: 3.833 MB / 392.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004971/0.4125, allocations: 1.409 MB / 393.7 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.4152, allocations: 1.137 MB / 394.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0137/0.4289, allocations: 9.139 MB / 404 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02957/0.4585, allocations: 20.34 MB / 424.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009537/0.4681, allocations: 5.062 MB / 429.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.479, allocations: 6.083 MB / 435.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00371/0.4827, allocations: 1.398 MB / 436.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.4876, allocations: 1.633 MB / 438.5 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002796/0.4904, allocations: 2.927 MB / 441.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008728/0.4992, allocations: 5.455 MB / 446.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01953/0.5187, allocations: 18.69 MB / 465.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.5188, allocations: 0 / 465.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5188, allocations: 0 / 465.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006038/0.5194, allocations: 0 / 465.6 MB, free: 5.043 MB / 382.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.03801/0.5574, allocations: 12.26 MB / 477.8 MB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5575, allocations: 8.031 kB / 477.9 MB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04869/0.6062, allocations: 8.502 MB / 486.4 MB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.6213, allocations: 5.388 MB / 491.7 MB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008818/0.6222, allocations: 0.6661 MB / 492.4 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005474/0.6277, allocations: 0.8632 MB / 493.3 MB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04877/0.6765, allocations: 15.97 MB / 0.4973 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004399/0.677, allocations: 11.91 kB / 0.4973 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00395/0.681, allocations: 368 kB / 0.4977 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006878/0.6817, allocations: 0.5698 MB / 0.4982 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0356/0.7173, allocations: 15.71 MB / 0.5136 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5399/1.257, allocations: 47.71 MB / 0.5602 GB, free: 119.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/1.278, allocations: 19.33 MB / 0.579 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005645/1.284, allocations: 3.591 MB / 0.5825 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/1.284, allocations: 181.3 kB / 0.5827 GB, free: 106.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.76e-05/1.284, allocations: 85.5 kB / 0.5828 GB, free: 106.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 7.003e-06/1.284, allocations: 1.031 kB / 0.5828 GB, free: 106.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02161/1.306, allocations: 11.54 MB / 0.5941 GB, free: 104 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/1.306, allocations: 124.1 kB / 0.5942 GB, free: 103.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005538/1.311, allocations: 3.846 MB / 0.5979 GB, free: 102.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/1.312, allocations: 99.61 kB / 0.598 GB, free: 102.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.314, allocations: 3.897 MB / 0.6018 GB, free: 99.53 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.315, allocations: 1.608 MB / 0.6034 GB, free: 98.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001863/1.317, allocations: 1.467 MB / 0.6049 GB, free: 97.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.898e-05/1.317, allocations: 305.1 kB / 0.6051 GB, free: 97.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004791/1.322, allocations: 3.695 MB / 0.6088 GB, free: 96.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006828/1.328, allocations: 6.521 MB / 0.6151 GB, free: 91.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.339, allocations: 10.83 MB / 0.6257 GB, free: 82.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.174e-05/1.34, allocations: 26.31 kB / 0.6257 GB, free: 82.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01784/1.357, allocations: 11.94 MB / 0.6374 GB, free: 72.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/1.358, allocations: 55.92 kB / 0.6374 GB, free: 72.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/1.358, allocations: 92.31 kB / 0.6375 GB, free: 72.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004283/1.362, allocations: 1.622 MB / 0.6391 GB, free: 70.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005407/1.367, allocations: 1.665 MB / 0.6407 GB, free: 69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.383, allocations: 17.65 MB / 0.658 GB, free: 50.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006704/1.39, allocations: 0.9562 MB / 0.6589 GB, free: 49.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.391, allocations: 360 kB / 0.6592 GB, free: 49.23 MB / 478.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.006518/1.398, allocations: 3.754 MB / 0.6629 GB, free: 45.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008738/1.399, allocations: 395.1 kB / 0.6633 GB, free: 45.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/1.411, allocations: 8.553 MB / 0.6716 GB, free: 36.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/1.411, allocations: 59.94 kB / 0.6717 GB, free: 36.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-05/1.411, allocations: 12 kB / 0.6717 GB, free: 36.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-05/1.411, allocations: 35.81 kB / 0.6717 GB, free: 36.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/1.437, allocations: 16.79 MB / 0.6881 GB, free: 19.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.437, allocations: 4 kB / 0.6881 GB, free: 19.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003151/1.44, allocations: 0.8581 MB / 0.689 GB, free: 18.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/1.444, allocations: 1.515 MB / 0.6905 GB, free: 17.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004905/1.445, allocations: 99.97 kB / 0.6906 GB, free: 17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/1.46, allocations: 17.47 MB / 0.7076 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.46, allocations: 0 / 0.7076 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/1.481, allocations: 12.23 MB / 0.7196 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.484, allocations: 1.104 MB / 0.7206 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007354/1.484, allocations: 84 kB / 0.7207 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.487, allocations: 307.7 kB / 0.721 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008059/1.488, allocations: 315.5 kB / 0.7213 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.488, allocations: 150.5 kB / 0.7215 GB, free: 300 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004207/1.492, allocations: 2.57 MB / 0.724 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.3e-07/1.492, allocations: 0 / 0.724 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007658/1.5, allocations: 2.373 MB / 0.7263 GB, free: 11.34 MB / 0.4982 GB 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.0007276/1.501, allocations: 261.3 kB / 0.7265 GB, free: 11.08 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01547/1.516, allocations: 9.38 MB / 0.7357 GB, free: 1.594 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.516, allocations: 3.938 kB / 0.7357 GB, free: 1.59 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007404/1.524, allocations: 4.475 MB / 0.7401 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/1.528, allocations: 0.7386 MB / 0.7408 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2782/1.807, allocations: 16.8 MB / 0.7572 GB, free: 165.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008705/1.815, allocations: 6.049 MB / 0.7631 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008915/1.824, allocations: 3.255 MB / 0.7663 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.826, allocations: 375.1 kB / 0.7666 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of SimCode: time 2.084e-06/1.826, allocations: 0 / 0.7666 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1023/1.928, allocations: 65.55 MB / 0.8307 GB, free: 122.5 MB / 0.5138 GB 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