Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009349/0.0009348, allocations: 174.9 kB / 8.475 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.2 MB / 214.1 MB, free: 5.25 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.0009201, allocations: 90.25 kB / 262.1 MB, free: 5.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.404e-06, allocations: 0 / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 47.57 MB / 362.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4611, allocations: 83.9 MB / 446.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4615, allocations: 81.75 kB / 446.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07539/0.5369, allocations: 30.36 MB / 476.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001532/0.5371, allocations: 40.05 kB / 476.9 MB, free: 14.26 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005468/0.5425, allocations: 1.673 MB / 478.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5426, allocations: 8.031 kB / 478.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.5448, allocations: 319.2 kB / 478.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.5476, allocations: 1.095 MB / 480 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.5477, allocations: 40 kB / 480 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/0.5481, allocations: 87.91 kB / 480.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00269/0.5508, allocations: 1.483 MB / 481.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.5534, allocations: 1.622 MB / 483.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.5535, allocations: 4 kB / 483.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.5536, allocations: 4 kB / 483.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/0.5536, allocations: 45.98 kB / 483.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009409/0.5631, allocations: 5.391 MB / 488.7 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.564, allocations: 0.7701 MB / 489.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.5647, allocations: 486.3 kB / 489.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/0.5672, allocations: 1.586 MB / 491.5 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.5673, allocations: 42.5 kB / 491.6 MB, free: 1.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=61): time 2.725e-06/0.5673, allocations: 0 / 491.6 MB, free: 1.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.001633/0.5689, allocations: 0.8674 MB / 492.4 MB, free: 280 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.569, allocations: 89.11 kB / 492.5 MB, free: 172 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.5701, allocations: 0.8751 MB / 493.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.5702, allocations: 25.7 kB / 493.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.5705, allocations: 0.5447 MB / 494 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.5707, allocations: 204.9 kB / 494.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.5708, allocations: 0 / 494.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5709, allocations: 341.9 kB / 494.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.5714, allocations: 365.4 kB / 494.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.572, allocations: 0.5136 MB / 495.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.5728, allocations: 460 kB / 495.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5728, allocations: 0 / 495.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001524/0.5743, allocations: 1.009 MB / 496.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5744, allocations: 7.984 kB / 496.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5744, allocations: 4 kB / 496.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.5744, allocations: 12.56 kB / 496.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.5753, allocations: 199.7 kB / 497 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.5753, allocations: 11.94 kB / 497 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.5759, allocations: 79.25 kB / 497.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.576, allocations: 35.98 kB / 497.2 MB, free: 11.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.5761, allocations: 120.7 kB / 497.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.5763, allocations: 94.88 kB / 497.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.5777, allocations: 0.7401 MB / 498.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5777, allocations: 4 kB / 498.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.5778, allocations: 4 kB / 498.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5778, allocations: 0 / 498.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.5814, allocations: 2.229 MB / 0.4886 GB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5814, allocations: 4.094 kB / 0.4886 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.582, allocations: 111.9 kB / 0.4887 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.5824, allocations: 148.7 kB / 0.4889 GB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.5825, allocations: 15.98 kB / 0.4889 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.5855, allocations: 2.467 MB / 0.4913 GB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5855, allocations: 3.938 kB / 0.4913 GB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002139/0.5877, allocations: 1.531 MB / 0.4928 GB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.588, allocations: 191.9 kB / 0.493 GB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5882, allocations: 11.98 kB / 0.493 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/0.5889, allocations: 55.95 kB / 0.493 GB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.589, allocations: 47.8 kB / 0.4931 GB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.589, allocations: 24.05 kB / 0.4931 GB, free: 3.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001027/0.5901, allocations: 0.6787 MB / 0.4938 GB, free: 2.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001177/0.5913, allocations: 346.4 kB / 0.4941 GB, free: 2.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.5916, allocations: 142.9 kB / 0.4942 GB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.5928, allocations: 0.774 MB / 0.495 GB, free: 1.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5928, allocations: 4 kB / 0.495 GB, free: 1.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009215/0.5937, allocations: 0.5484 MB / 0.4955 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.5945, allocations: 144.4 kB / 0.4957 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.5992, allocations: 2.297 MB / 0.4979 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.6007, allocations: 1.585 MB / 0.4995 GB, free: 12.76 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6007, allocations: 0 / 0.4995 GB, free: 12.76 MB / 362.7 MB Notification: Performance of Templates: time 0.02036/0.6211, allocations: 10.75 MB / 0.51 GB, free: 2.066 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches