Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 95.86 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 195.4 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.7 MB / 246.4 MB, free: 9.734 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 4 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009707/0.1425, allocations: 8.615 MB / 367.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006409/0.149, allocations: 2.919 MB / 370.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1502, allocations: 43.81 kB / 370.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.1517, allocations: 0.5087 MB / 370.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.1536, allocations: 0.6329 MB / 371.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.1543, allocations: 251.7 kB / 371.6 MB, free: 416 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2383/0.3926, allocations: 2.462 MB / 374.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.3948, allocations: 1.216 MB / 375.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.3966, allocations: 0.8424 MB / 376.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.3981, allocations: 1.091 MB / 377.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.3983, allocations: 123.4 kB / 377.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.3989, allocations: 197 kB / 377.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006244/0.3995, allocations: 0.5917 MB / 378.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.4, allocations: 454.5 kB / 378.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.4033, allocations: 2.927 MB / 381.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4033, allocations: 0 / 381.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4033, allocations: 0 / 381.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.636e-05/0.4034, allocations: 0 / 381.5 MB, free: 9.098 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004329/0.4077, allocations: 2.217 MB / 383.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4078, allocations: 10.83 kB / 383.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.4086, allocations: 276.2 kB / 384 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.4105, allocations: 1.272 MB / 385.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4106, allocations: 144.6 kB / 385.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.4109, allocations: 198.8 kB / 385.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.4148, allocations: 2.408 MB / 388 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.4149, allocations: 10.47 kB / 388 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.4151, allocations: 78.09 kB / 388.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.4152, allocations: 87.06 kB / 388.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.4184, allocations: 1.961 MB / 390.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.4288, allocations: 7.892 MB / 398 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4301, allocations: 1.227 MB / 399.3 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.4317, allocations: 0.9496 MB / 400.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.432, allocations: 120.7 kB / 400.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.432, allocations: 48.36 kB / 400.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.296e-06/0.432, allocations: 0 / 400.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01267/0.4447, allocations: 5.933 MB / 406.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.4448, allocations: 69.53 kB / 406.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.4469, allocations: 1.294 MB / 407.7 MB, free: 8.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.447, allocations: 41.7 kB / 407.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/0.4477, allocations: 0.9247 MB / 408.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.448, allocations: 391.8 kB / 409 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.4481, allocations: 24 kB / 409 MB, free: 7.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4482, allocations: 361.9 kB / 409.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.4493, allocations: 0.6325 MB / 410 MB, free: 6.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.4505, allocations: 0.9964 MB / 411 MB, free: 4.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.4518, allocations: 0.7947 MB / 411.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4518, allocations: 4 kB / 411.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003863/0.4556, allocations: 2.245 MB / 414.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4557, allocations: 12.98 kB / 414.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4557, allocations: 12 kB / 414.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.4569, allocations: 492.2 kB / 414.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.458, allocations: 305.8 kB / 414.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/0.465, allocations: 6.543 MB / 421.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.4666, allocations: 87.92 kB / 421.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.4668, allocations: 51.98 kB / 421.5 MB, free: 9.977 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001574/0.4683, allocations: 0.6028 MB / 422.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/0.4688, allocations: 142.2 kB / 422.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/0.4726, allocations: 1.972 MB / 424.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.4726, allocations: 12 kB / 424.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.4727, allocations: 4 kB / 424.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.4727, allocations: 7.969 kB / 424.3 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007891/0.4806, allocations: 4.129 MB / 428.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4806, allocations: 4.062 kB / 428.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008256/0.4814, allocations: 187.7 kB / 428.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.4829, allocations: 0.5339 MB / 429.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.4831, allocations: 35.98 kB / 429.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008388/0.4915, allocations: 8.032 MB / 437.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4915, allocations: 11.92 kB / 437.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.4963, allocations: 2.85 MB / 440.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009881/0.4973, allocations: 359.2 kB / 440.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004974/0.4978, allocations: 28.02 kB / 440.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.4989, allocations: 79.92 kB / 440.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.4991, allocations: 88.88 kB / 440.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4992, allocations: 35.98 kB / 440.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00188/0.5011, allocations: 0.8763 MB / 441.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5011, allocations: 3.938 kB / 441.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002091/0.5032, allocations: 443.9 kB / 442 MB, free: 4.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003726/0.5036, allocations: 151.1 kB / 442.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003727/0.5073, allocations: 2.219 MB / 444.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5074, allocations: 4 kB / 444.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.5097, allocations: 1.508 MB / 445.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.5121, allocations: 405 kB / 446.2 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/0.5203, allocations: 4.929 MB / 451.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.5221, allocations: 1.654 MB / 452.8 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.5234, allocations: 324.8 kB / 453.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.5239, allocations: 99.42 kB / 453.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5239, allocations: 0 / 453.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of Templates: time 0.04136/0.5652, allocations: 21.93 MB / 475.1 MB, free: 3.633 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches