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.001018/0.001019, allocations: 115.9 kB / 18.41 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.001336/0.001337, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.73 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1007, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01315/0.1138, allocations: 11.86 MB / 370.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1763/0.2901, allocations: 3.823 MB / 374.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.2918, allocations: 72.5 kB / 374.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.2938, allocations: 0.8733 MB / 375.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.2969, allocations: 1.083 MB / 376.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2983, allocations: 0.4935 MB / 377.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005337/0.3036, allocations: 4.246 MB / 381.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003712/0.3074, allocations: 3.299 MB / 384.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.3108, allocations: 1.909 MB / 386.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004188/0.315, allocations: 2.339 MB / 388.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.316, allocations: 0.4944 MB / 389.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3177, allocations: 0.5927 MB / 390 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.319, allocations: 1.404 MB / 391.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00273/0.3217, allocations: 2.211 MB / 393.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005804/0.3276, allocations: 6.568 MB / 400.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3276, allocations: 0 / 400.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3276, allocations: 0 / 400.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001661/0.3278, allocations: 4 kB / 400.2 MB, free: 14.62 MB / 318.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.01076/0.3386, allocations: 4.312 MB / 404.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3386, allocations: 12.03 kB / 404.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.34, allocations: 468 kB / 405 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.3448, allocations: 2.407 MB / 407.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.345, allocations: 232.8 kB / 407.6 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004763/0.3455, allocations: 311.8 kB / 407.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007317/0.3528, allocations: 4.374 MB / 412.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-05/0.3529, allocations: 7.938 kB / 412.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002958/0.3533, allocations: 128 kB / 412.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.3534, allocations: 138 kB / 412.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.3597, allocations: 3.771 MB / 416.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/0.3808, allocations: 13.38 MB / 429.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.3843, allocations: 2.903 MB / 432.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.3871, allocations: 1.679 MB / 434.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.3873, allocations: 128.8 kB / 434.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.3874, allocations: 55.86 kB / 434.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 4.408e-06/0.3874, allocations: 0 / 434.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.01791/0.4053, allocations: 8.997 MB / 443.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.4054, allocations: 69.41 kB / 443.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/0.4092, allocations: 2.37 MB / 445.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.4094, allocations: 57.7 kB / 445.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4105, allocations: 1.469 MB / 447.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.411, allocations: 0.6077 MB / 448 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005935/0.4116, allocations: 371.2 kB / 448.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.4117, allocations: 309.1 kB / 448.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.4133, allocations: 1.124 MB / 449.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.4153, allocations: 1.571 MB / 451.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.419, allocations: 2.784 MB / 454.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.419, allocations: 4 kB / 454.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006441/0.4255, allocations: 3.592 MB / 457.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.4255, allocations: 8 kB / 457.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.4256, allocations: 16 kB / 457.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.4277, allocations: 0.8025 MB / 458.6 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.4297, allocations: 455.3 kB / 459 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.4409, allocations: 11.17 MB / 470.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.4432, allocations: 127.8 kB / 470.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.4434, allocations: 72 kB / 470.4 MB, free: 7.492 MB / 382.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.002174/0.4456, allocations: 1.102 MB / 471.5 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005926/0.4462, allocations: 245 kB / 471.7 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005601/0.4518, allocations: 3.309 MB / 475.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.4519, allocations: 16 kB / 475.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.4519, allocations: 8 kB / 475.1 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4519, allocations: 7.969 kB / 475.1 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.4643, allocations: 6.856 MB / 481.9 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.4643, allocations: 0 / 481.9 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.4656, allocations: 299.5 kB / 482.2 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/0.468, allocations: 0.9308 MB / 483.2 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.4681, allocations: 39.98 kB / 483.2 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.4817, allocations: 14.6 MB / 497.8 MB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4818, allocations: 7.969 kB / 497.8 MB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007788/0.4896, allocations: 4.865 MB / 0.4909 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/0.4914, allocations: 0.5682 MB / 0.4914 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004272/0.4918, allocations: 43.98 kB / 0.4915 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.4932, allocations: 119.9 kB / 0.4916 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.4936, allocations: 153.7 kB / 0.4917 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.4937, allocations: 47.98 kB / 0.4918 GB, free: 5.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002496/0.4962, allocations: 1.645 MB / 0.4934 GB, free: 3.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4963, allocations: 0 / 0.4934 GB, free: 3.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002317/0.4986, allocations: 0.7031 MB / 0.4941 GB, free: 2.711 MB / 414.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.0004361/0.499, allocations: 213.9 kB / 0.4943 GB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005493/0.5045, allocations: 3.586 MB / 0.4978 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.5046, allocations: 8.062 kB / 0.4978 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003482/0.508, allocations: 2.502 MB / 0.5002 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.5113, allocations: 0.7235 MB / 0.501 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.5224, allocations: 6.774 MB / 0.5076 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/0.5247, allocations: 2.522 MB / 0.51 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001946/0.5267, allocations: 0.5906 MB / 0.5106 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.5272, allocations: 159.4 kB / 0.5108 GB, free: 1.363 MB / 430.1 MB Notification: Performance of SimCode: time 1.153e-06/0.5272, allocations: 0 / 0.5108 GB, free: 1.363 MB / 430.1 MB Notification: Performance of Templates: time 0.2669/0.7941, allocations: 39.96 MB / 0.5498 GB, free: 136.9 MB / 446.1 MB 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 -s gbode -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