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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.000989/0.000989, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.39/1.39, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008622/0.0008629, allocations: 78.72 kB / 267.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.264e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08711, allocations: 47.58 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3256/0.4128, allocations: 94.51 MB / 464.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.4131, allocations: 88.44 kB / 464.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.001/1.415, allocations: 310.8 MB / 0.7572 GB, free: 54.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.415, allocations: 0 / 0.7572 GB, free: 54.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003716/1.415, allocations: 175.1 kB / 0.7574 GB, free: 54.53 MB / 410.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.03115/1.446, allocations: 9.567 MB / 0.7668 GB, free: 51.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.446, allocations: 9.312 kB / 0.7668 GB, free: 51.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02942/1.476, allocations: 5.523 MB / 0.7722 GB, free: 50.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/1.49, allocations: 6.125 MB / 0.7781 GB, free: 47.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000819/1.491, allocations: 0.6304 MB / 0.7788 GB, free: 47.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003744/1.495, allocations: 0.8053 MB / 0.7795 GB, free: 46.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0334/1.528, allocations: 16.67 MB / 0.7958 GB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000345/1.528, allocations: 11.91 kB / 0.7958 GB, free: 30.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002905/1.531, allocations: 354.2 kB / 0.7962 GB, free: 30.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007159/1.532, allocations: 0.7129 MB / 0.7969 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02903/1.561, allocations: 15.97 MB / 0.8125 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3541/1.915, allocations: 51.26 MB / 0.8625 GB, free: 55.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02417/1.94, allocations: 13.72 MB / 0.8759 GB, free: 53.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01544/1.955, allocations: 9.278 MB / 0.885 GB, free: 53.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/1.956, allocations: 322.5 kB / 0.8853 GB, free: 53.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/1.957, allocations: 115 kB / 0.8854 GB, free: 53.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 2.324e-05/1.957, allocations: 0 / 0.8854 GB, free: 53.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.03946/1.996, allocations: 17.25 MB / 0.9022 GB, free: 49.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.996, allocations: 155.4 kB / 0.9024 GB, free: 48.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003914/2, allocations: 1.629 MB / 0.904 GB, free: 48.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002561/2.003, allocations: 148.3 kB / 0.9041 GB, free: 48.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/2.005, allocations: 2.532 MB / 0.9066 GB, free: 46.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004977/2.01, allocations: 3.153 MB / 0.9097 GB, free: 44.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002279/2.012, allocations: 130.7 kB / 0.9098 GB, free: 44.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001123/2.013, allocations: 0.6436 MB / 0.9104 GB, free: 43.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01097/2.024, allocations: 6.452 MB / 0.9167 GB, free: 41.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/2.037, allocations: 7.06 MB / 0.9236 GB, free: 38.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/2.051, allocations: 7.46 MB / 0.9309 GB, free: 35.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.035e-05/2.051, allocations: 3.562 kB / 0.9309 GB, free: 35.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.03948/2.09, allocations: 17.96 MB / 0.9484 GB, free: 25.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/2.09, allocations: 8 kB / 0.9485 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.616e-05/2.091, allocations: 7.953 kB / 0.9485 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/2.104, allocations: 6.584 MB / 0.9549 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006333/2.111, allocations: 1.164 MB / 0.956 GB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/2.128, allocations: 12.72 MB / 0.9685 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006182/2.134, allocations: 0.7878 MB / 0.9692 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/2.136, allocations: 268.9 kB / 0.9695 GB, free: 7.105 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.003653/2.14, allocations: 427.2 kB / 0.9699 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002554/2.142, allocations: 410.8 kB / 0.9703 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04455/2.187, allocations: 19.6 MB / 0.9894 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000501/2.187, allocations: 271.6 kB / 0.9897 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-05/2.188, allocations: 5.219 kB / 0.9897 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001814/2.188, allocations: 38.16 kB / 0.9897 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3798/2.567, allocations: 34.27 MB / 1.023 GB, free: 94.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001029/2.568, allocations: 0 / 1.023 GB, free: 94.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006089/2.574, allocations: 1.103 MB / 1.024 GB, free: 94.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01462/2.588, allocations: 6.584 MB / 1.031 GB, free: 93.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00247/2.591, allocations: 208.2 kB / 1.031 GB, free: 93.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/2.606, allocations: 12.69 MB / 1.043 GB, free: 91.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/2.606, allocations: 0 / 1.043 GB, free: 91.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04748/2.654, allocations: 28.55 MB / 1.071 GB, free: 87.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007736/2.662, allocations: 2.074 MB / 1.073 GB, free: 87.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00373/2.665, allocations: 127.6 kB / 1.073 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006312/2.672, allocations: 421.6 kB / 1.074 GB, free: 86.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003331/2.675, allocations: 0.709 MB / 1.074 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002344/2.677, allocations: 260.6 kB / 1.075 GB, free: 86.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002544/2.68, allocations: 1.254 MB / 1.076 GB, free: 86.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.68, allocations: 0 / 1.076 GB, free: 86.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01025/2.69, allocations: 2.399 MB / 1.078 GB, free: 85.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.003052/2.693, allocations: 353.1 kB / 1.079 GB, free: 85.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02939/2.723, allocations: 15.54 MB / 1.094 GB, free: 79.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/2.723, allocations: 5.656 kB / 1.094 GB, free: 79.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01826/2.741, allocations: 8.357 MB / 1.102 GB, free: 76.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006035/2.747, allocations: 0.5888 MB / 1.102 GB, free: 76.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/2.79, allocations: 19.84 MB / 1.122 GB, free: 58.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007951/2.798, allocations: 6.329 MB / 1.128 GB, free: 53.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005844/2.804, allocations: 1.82 MB / 1.13 GB, free: 52.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/2.806, allocations: 321.5 kB / 1.13 GB, free: 52.23 MB / 458.7 MB Notification: Performance of SimCode: time 9.21e-07/2.806, allocations: 0 / 1.13 GB, free: 52.23 MB / 458.7 MB Notification: Performance of Templates: time 0.5066/3.312, allocations: 127.1 MB / 1.254 GB, free: 85.83 MB / 458.7 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/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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches