Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 111.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2531, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01176/0.2649, allocations: 11.86 MB / 421.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007536/0.2725, allocations: 3.822 MB / 425.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.2742, allocations: 71.69 kB / 425.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.2768, allocations: 0.8743 MB / 426.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.2804, allocations: 1.087 MB / 427.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2816, allocations: 0.4954 MB / 428.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004821/0.2864, allocations: 4.241 MB / 432.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.2901, allocations: 3.293 MB / 435.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.2929, allocations: 1.92 MB / 437.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/0.2965, allocations: 2.339 MB / 439.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008879/0.2974, allocations: 0.4961 MB / 440.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.2986, allocations: 0.5936 MB / 441 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.2998, allocations: 1.395 MB / 442.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.3024, allocations: 2.205 MB / 444.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006389/0.3088, allocations: 6.575 MB / 451.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3088, allocations: 0 / 451.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3088, allocations: 0 / 451.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001269/0.309, allocations: 0 / 451.2 MB, free: 8.117 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008605/0.3176, allocations: 4.322 MB / 455.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3176, allocations: 8.031 kB / 455.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.3189, allocations: 476 kB / 456 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/0.3229, allocations: 2.422 MB / 458.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.3231, allocations: 226.2 kB / 458.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/0.3236, allocations: 304 kB / 458.9 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007217/0.3308, allocations: 4.377 MB / 463.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.476e-05/0.3309, allocations: 15.84 kB / 463.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/0.3312, allocations: 128 kB / 463.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.3313, allocations: 126 kB / 463.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.3373, allocations: 3.779 MB / 467.4 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.3571, allocations: 13.37 MB / 480.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.3605, allocations: 2.907 MB / 483.6 MB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.3633, allocations: 1.672 MB / 485.3 MB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.3635, allocations: 134.4 kB / 485.4 MB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.3636, allocations: 59.88 kB / 485.5 MB, free: 5.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.386e-06/0.3636, allocations: 0 / 485.5 MB, free: 5.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01813/0.3817, allocations: 8.995 MB / 494.5 MB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3818, allocations: 69.41 kB / 494.6 MB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.3853, allocations: 2.37 MB / 496.9 MB, free: 9.395 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.3856, allocations: 57.7 kB / 497 MB, free: 9.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.3866, allocations: 1.478 MB / 498.5 MB, free: 7.836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.3871, allocations: 0.6006 MB / 499.1 MB, free: 7.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005837/0.3877, allocations: 367.3 kB / 499.4 MB, free: 6.863 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3878, allocations: 301.1 kB / 499.7 MB, free: 6.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.3896, allocations: 1.124 MB / 0.4891 GB, free: 5.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.3916, allocations: 1.574 MB / 0.4906 GB, free: 3.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/0.3953, allocations: 2.784 MB / 0.4934 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3953, allocations: 8 kB / 0.4934 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005932/0.4013, allocations: 3.592 MB / 0.4969 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.4013, allocations: 15.94 kB / 0.4969 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4014, allocations: 12.5 kB / 0.4969 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.4033, allocations: 0.7942 MB / 0.4977 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.4051, allocations: 463.2 kB / 0.4981 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.416, allocations: 11.18 MB / 0.509 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.418, allocations: 123.8 kB / 0.5092 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.4182, allocations: 72 kB / 0.5092 GB, free: 15.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001895/0.4201, allocations: 1.102 MB / 0.5103 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/0.4207, allocations: 248.9 kB / 0.5105 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005593/0.4263, allocations: 3.297 MB / 0.5138 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.4263, allocations: 20 kB / 0.5138 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4263, allocations: 4 kB / 0.5138 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.4263, allocations: 7.969 kB / 0.5138 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.4376, allocations: 6.864 MB / 0.5205 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.4377, allocations: 0 / 0.5205 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.439, allocations: 299.8 kB / 0.5208 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.4413, allocations: 0.9158 MB / 0.5217 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.4415, allocations: 39.98 kB / 0.5217 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.4544, allocations: 14.62 MB / 0.536 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4544, allocations: 7.969 kB / 0.536 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2069/0.6613, allocations: 4.847 MB / 0.5407 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.6628, allocations: 0.5647 MB / 0.5413 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/0.6632, allocations: 42.11 kB / 0.5413 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.6645, allocations: 116.9 kB / 0.5414 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.665, allocations: 156 kB / 0.5416 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6651, allocations: 50.59 kB / 0.5416 GB, free: 122.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002274/0.6674, allocations: 1.638 MB / 0.5432 GB, free: 122 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6674, allocations: 0.875 kB / 0.5432 GB, free: 122 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002045/0.6695, allocations: 0.7065 MB / 0.5439 GB, free: 122 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004246/0.6699, allocations: 221.4 kB / 0.5441 GB, free: 121.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004406/0.6743, allocations: 3.594 MB / 0.5476 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.6743, allocations: 6.219 kB / 0.5476 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/0.6773, allocations: 2.501 MB / 0.5501 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.6803, allocations: 0.7094 MB / 0.5508 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009055/0.6894, allocations: 6.772 MB / 0.5574 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.691, allocations: 2.481 MB / 0.5598 GB, free: 113.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007667/0.6918, allocations: 175 kB / 0.56 GB, free: 113.4 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6918, allocations: 0 / 0.56 GB, free: 113.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1315/0.8233, allocations: 168.6 MB / 0.7247 GB, free: 9.371 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches