Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.000858/0.0008581, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.125/1.125, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 51.31 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07877, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1483/0.2271, allocations: 24.75 MB / 376.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.239, allocations: 7.357 MB / 383.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003956/0.243, allocations: 186 kB / 383.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.2583, allocations: 8.779 MB / 392.6 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008191/0.2665, allocations: 2.92 MB / 395.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.2706, allocations: 1.704 MB / 397.2 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.2819, allocations: 10.72 MB / 407.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02721/0.3091, allocations: 21.83 MB / 429.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/0.3166, allocations: 5.701 MB / 435.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007949/0.3246, allocations: 6.245 MB / 441.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002972/0.3276, allocations: 1.672 MB / 443.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/0.3319, allocations: 2.035 MB / 445.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.3343, allocations: 3.157 MB / 448.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007415/0.3417, allocations: 6.094 MB / 454.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01913/0.3609, allocations: 22.32 MB / 477 MB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3609, allocations: 0 / 477 MB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3609, allocations: 0 / 477 MB, free: 7.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003982/0.3614, allocations: 3.938 kB / 477 MB, free: 7.801 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03441/0.3958, allocations: 12.72 MB / 489.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3958, allocations: 8.031 kB / 489.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03183/0.4277, allocations: 6.197 MB / 495.9 MB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.4413, allocations: 6.909 MB / 0.491 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005328/0.4419, allocations: 0.7024 MB / 0.4917 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/0.445, allocations: 0.9216 MB / 0.4926 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03256/0.4776, allocations: 15.73 MB / 0.508 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/0.4779, allocations: 23.83 kB / 0.508 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/0.4795, allocations: 384 kB / 0.5084 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/0.48, allocations: 0.5586 MB / 0.5089 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2963/0.7763, allocations: 14.77 MB / 0.5234 GB, free: 115.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05735/0.8337, allocations: 50.99 MB / 0.5731 GB, free: 81.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/0.8489, allocations: 26.47 MB / 0.599 GB, free: 56.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/0.8527, allocations: 3.217 MB / 0.6021 GB, free: 54.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.853, allocations: 178.3 kB / 0.6023 GB, free: 54.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.853, allocations: 73.69 kB / 0.6024 GB, free: 54.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 5.23e-06/0.853, allocations: 0 / 0.6024 GB, free: 54.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.02797/0.881, allocations: 17.3 MB / 0.6193 GB, free: 36.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8811, allocations: 94.58 kB / 0.6194 GB, free: 36.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.8847, allocations: 3.688 MB / 0.623 GB, free: 32.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.8849, allocations: 89.7 kB / 0.623 GB, free: 32.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.8861, allocations: 3.977 MB / 0.6269 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.8867, allocations: 1.382 MB / 0.6283 GB, free: 27.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.888, allocations: 1.14 MB / 0.6294 GB, free: 26.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.95e-05/0.888, allocations: 301.1 kB / 0.6297 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/0.8908, allocations: 2.799 MB / 0.6324 GB, free: 23.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/0.8943, allocations: 4.952 MB / 0.6372 GB, free: 17.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00674/0.9011, allocations: 8.314 MB / 0.6454 GB, free: 7.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-05/0.9011, allocations: 20 kB / 0.6454 GB, free: 7.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01101/0.9121, allocations: 9.095 MB / 0.6543 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.9122, allocations: 36 kB / 0.6543 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.546e-05/0.9123, allocations: 72.47 kB / 0.6544 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/0.9152, allocations: 1.23 MB / 0.6556 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/0.9192, allocations: 1.314 MB / 0.6569 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.9332, allocations: 9.916 MB / 0.6665 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/0.9372, allocations: 331.4 kB / 0.6669 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005511/0.9377, allocations: 288 kB / 0.6671 GB, free: 1.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005497/0.9432, allocations: 3.71 MB / 0.6708 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/0.944, allocations: 395.1 kB / 0.6711 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.9551, allocations: 6.697 MB / 0.6777 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008956/0.9641, allocations: 5.595 MB / 0.6831 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/0.9641, allocations: 8 kB / 0.6831 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.505e-05/0.9642, allocations: 19.92 kB / 0.6832 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/0.9932, allocations: 15.77 MB / 0.6986 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.9932, allocations: 8 kB / 0.6986 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/0.9962, allocations: 0.7222 MB / 0.6993 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1617/1.158, allocations: 1.111 MB / 0.7004 GB, free: 153 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006649/1.159, allocations: 90.5 kB / 0.7004 GB, free: 153 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.171, allocations: 8.836 MB / 0.7091 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.171, allocations: 9.844 kB / 0.7091 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/1.185, allocations: 9.851 MB / 0.7187 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/1.188, allocations: 0.9595 MB / 0.7196 GB, free: 145.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005523/1.188, allocations: 77.06 kB / 0.7197 GB, free: 145.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.19, allocations: 205.3 kB / 0.7199 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006077/1.191, allocations: 282.9 kB / 0.7202 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.191, allocations: 123.7 kB / 0.7203 GB, free: 145.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003038/1.194, allocations: 2.495 MB / 0.7227 GB, free: 144.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.194, allocations: 3.188 kB / 0.7227 GB, free: 144.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004588/1.199, allocations: 1.608 MB / 0.7243 GB, free: 144.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/1.199, allocations: 280.1 kB / 0.7246 GB, free: 144.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009925/1.209, allocations: 7.139 MB / 0.7315 GB, free: 141.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.209, allocations: 0 / 0.7315 GB, free: 141.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005139/1.215, allocations: 3.39 MB / 0.7349 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.218, allocations: 0.9715 MB / 0.7358 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/1.242, allocations: 16.38 MB / 0.7518 GB, free: 127.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006504/1.249, allocations: 6.188 MB / 0.7578 GB, free: 122.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004604/1.253, allocations: 1.911 MB / 0.7597 GB, free: 121.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.254, allocations: 346.2 kB / 0.76 GB, free: 120.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/1.254, allocations: 0 / 0.76 GB, free: 120.7 MB / 478.1 MB Notification: Performance of Templates: time 0.7416/1.996, allocations: 63.8 MB / 0.8224 GB, free: 58.87 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches