Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001725/0.001725, allocations: 116.5 kB / 18.44 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002069/0.002069, allocations: 211.8 kB / 19.4 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 227.6 MB / 247.8 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2494, allocations: 50.54 MB / 410.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01405/0.2634, allocations: 11.88 MB / 422.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007587/0.271, allocations: 3.83 MB / 425.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.2728, allocations: 71.69 kB / 426 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.2753, allocations: 0.9366 MB / 426.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.28, allocations: 1.146 MB / 428.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.2816, allocations: 0.4915 MB / 428.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006102/0.2877, allocations: 4.238 MB / 432.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003384/0.2911, allocations: 2.391 MB / 435.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.2942, allocations: 1.924 MB / 437.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003605/0.2978, allocations: 2.335 MB / 439.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009453/0.2987, allocations: 0.4922 MB / 440 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.3, allocations: 0.5936 MB / 440.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.3014, allocations: 1.414 MB / 442 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00278/0.3042, allocations: 2.209 MB / 444.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007494/0.3117, allocations: 6.591 MB / 450.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3117, allocations: 0 / 450.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3117, allocations: 0 / 450.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001606/0.3118, allocations: 0 / 450.8 MB, free: 8.832 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.01066/0.3225, allocations: 4.423 MB / 455.2 MB, free: 4.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3225, allocations: 8.031 kB / 455.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.3242, allocations: 498.2 kB / 455.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/0.3291, allocations: 2.424 MB / 458.1 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.3293, allocations: 238.1 kB / 458.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.3299, allocations: 304 kB / 458.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008315/0.3382, allocations: 4.377 MB / 463 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.662e-05/0.3383, allocations: 11.95 kB / 463 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.3386, allocations: 120 kB / 463.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.3388, allocations: 134 kB / 463.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007168/0.346, allocations: 3.783 MB / 467 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02592/0.3719, allocations: 13.4 MB / 480.5 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/0.3757, allocations: 2.77 MB / 483.2 MB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.3787, allocations: 1.571 MB / 484.8 MB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.379, allocations: 134.4 kB / 484.9 MB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.379, allocations: 55.88 kB / 485 MB, free: 5.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.226e-06/0.379, allocations: 0 / 485 MB, free: 5.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01936/0.3984, allocations: 9.014 MB / 494 MB, free: 12.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.3984, allocations: 73.34 kB / 494.1 MB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/0.4023, allocations: 2.382 MB / 496.4 MB, free: 10.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.4025, allocations: 57.7 kB / 496.5 MB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.4038, allocations: 1.509 MB / 498 MB, free: 8.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006694/0.4045, allocations: 0.6391 MB / 498.7 MB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006414/0.4051, allocations: 367.4 kB / 499 MB, free: 7.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4052, allocations: 305.1 kB / 499.3 MB, free: 7.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.4072, allocations: 1.124 MB / 0.4887 GB, free: 6.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.4094, allocations: 1.571 MB / 0.4902 GB, free: 4.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.4137, allocations: 2.784 MB / 0.493 GB, free: 1.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.4137, allocations: 4 kB / 0.493 GB, free: 1.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006764/0.4205, allocations: 3.59 MB / 0.4965 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.4205, allocations: 19.97 kB / 0.4965 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.4205, allocations: 12 kB / 0.4965 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/0.4227, allocations: 0.793 MB / 0.4973 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.4247, allocations: 459.3 kB / 0.4977 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.4376, allocations: 11.17 MB / 0.5086 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.4397, allocations: 135.8 kB / 0.5087 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.44, allocations: 79.98 kB / 0.5088 GB, free: 428 kB / 430.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.002105/0.4421, allocations: 1.092 MB / 0.5099 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006478/0.4427, allocations: 262.3 kB / 0.5101 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/0.4491, allocations: 3.289 MB / 0.5134 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.4492, allocations: 20 kB / 0.5134 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.4492, allocations: 4 kB / 0.5134 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/0.4492, allocations: 11.95 kB / 0.5134 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.4627, allocations: 6.829 MB / 0.5201 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.4627, allocations: 4 kB / 0.5201 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.464, allocations: 303.8 kB / 0.5203 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/0.4665, allocations: 0.919 MB / 0.5212 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/0.4667, allocations: 43.98 kB / 0.5213 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/0.4823, allocations: 14.63 MB / 0.5356 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4823, allocations: 7.969 kB / 0.5356 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1974/0.6797, allocations: 4.856 MB / 0.5403 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/0.6813, allocations: 0.5742 MB / 0.5409 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.6818, allocations: 41.75 kB / 0.5409 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.6832, allocations: 118.8 kB / 0.541 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/0.6836, allocations: 155.6 kB / 0.5412 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.6837, allocations: 47.83 kB / 0.5412 GB, free: 121.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002304/0.686, allocations: 1.639 MB / 0.5428 GB, free: 121.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.686, allocations: 0 / 0.5428 GB, free: 121.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002085/0.6881, allocations: 0.7101 MB / 0.5435 GB, free: 121.4 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.0004356/0.6885, allocations: 206.8 kB / 0.5437 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004154/0.6926, allocations: 3.487 MB / 0.5471 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6926, allocations: 0 / 0.5471 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.6954, allocations: 2.433 MB / 0.5495 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.6982, allocations: 0.7239 MB / 0.5502 GB, free: 118.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008274/0.7064, allocations: 6.856 MB / 0.5569 GB, free: 115 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.708, allocations: 2.525 MB / 0.5594 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001525/0.7096, allocations: 0.5909 MB / 0.56 GB, free: 112.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.71, allocations: 157.4 kB / 0.5601 GB, free: 112.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.71, allocations: 0 / 0.5601 GB, free: 112.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05616/0.7662, allocations: 41 MB / 0.6001 GB, free: 72.86 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches