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.001286/0.001287, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.11 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 50.53 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01378/0.1315, allocations: 11.77 MB / 368.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2118/0.3434, allocations: 3.766 MB / 372.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.3462, allocations: 67.66 kB / 372.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.3497, allocations: 0.774 MB / 373.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.3544, allocations: 0.9869 MB / 374.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3556, allocations: 448.1 kB / 374.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005987/0.3616, allocations: 4.224 MB / 379 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004075/0.3657, allocations: 3.295 MB / 382.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.3695, allocations: 1.927 MB / 384.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004371/0.3739, allocations: 2.389 MB / 386.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.3751, allocations: 0.4936 MB / 387.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.3773, allocations: 0.5977 MB / 387.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.3789, allocations: 1.4 MB / 389.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003447/0.3824, allocations: 2.216 MB / 391.3 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006/0.3884, allocations: 6.515 MB / 397.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3884, allocations: 0 / 397.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3884, allocations: 3.938 kB / 397.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001464/0.3886, allocations: 0 / 397.8 MB, free: 15.32 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.0104/0.399, allocations: 4.31 MB / 402.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3991, allocations: 12.03 kB / 402.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.4006, allocations: 472 kB / 402.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/0.4054, allocations: 2.338 MB / 405 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.4056, allocations: 226.2 kB / 405.2 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005544/0.4062, allocations: 313.6 kB / 405.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008548/0.4148, allocations: 4.376 MB / 409.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.499e-05/0.4149, allocations: 3.938 kB / 409.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.4152, allocations: 131.4 kB / 410 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.4153, allocations: 134 kB / 410.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007762/0.4231, allocations: 3.779 MB / 413.9 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02519/0.4483, allocations: 13.52 MB / 427.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.4524, allocations: 2.91 MB / 430.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/0.4554, allocations: 1.678 MB / 432 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.4558, allocations: 122.4 kB / 432.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.4559, allocations: 55.88 kB / 432.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 4.318e-06/0.4559, allocations: 0 / 432.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.01962/0.4755, allocations: 9 MB / 441.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4756, allocations: 77.39 kB / 441.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/0.4797, allocations: 2.362 MB / 443.6 MB, free: 2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.4799, allocations: 61.7 kB / 443.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.481, allocations: 1.473 MB / 445.2 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/0.4816, allocations: 0.6091 MB / 445.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006377/0.4823, allocations: 367.3 kB / 446.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4824, allocations: 305.1 kB / 446.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.4842, allocations: 1.124 MB / 447.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.4863, allocations: 1.567 MB / 449.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/0.4903, allocations: 2.79 MB / 451.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.4903, allocations: 4 kB / 451.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006124/0.4964, allocations: 3.589 MB / 455.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.4965, allocations: 14.72 kB / 455.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.4965, allocations: 16 kB / 455.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.4985, allocations: 0.8058 MB / 456.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.5003, allocations: 459.3 kB / 456.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.5117, allocations: 11.19 MB / 468 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.5146, allocations: 127.8 kB / 468.1 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.5149, allocations: 75.98 kB / 468.2 MB, free: 8.344 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.002468/0.5174, allocations: 1.095 MB / 469.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/0.5181, allocations: 249 kB / 469.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005897/0.524, allocations: 3.297 MB / 472.8 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.524, allocations: 20 kB / 472.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.524, allocations: 4 kB / 472.8 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/0.5241, allocations: 7.969 kB / 472.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.5368, allocations: 6.89 MB / 479.7 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.5368, allocations: 4 kB / 479.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.5382, allocations: 295.5 kB / 480 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.5408, allocations: 0.9343 MB / 481 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/0.5411, allocations: 39.98 kB / 481 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/0.556, allocations: 14.63 MB / 495.6 MB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.5561, allocations: 7.938 kB / 495.6 MB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008393/0.5645, allocations: 4.858 MB / 0.4888 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/0.5667, allocations: 0.5644 MB / 0.4893 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006859/0.5674, allocations: 36 kB / 0.4893 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.5689, allocations: 123.9 kB / 0.4895 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005497/0.5694, allocations: 157.7 kB / 0.4896 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.5696, allocations: 47.98 kB / 0.4897 GB, free: 5.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002997/0.5726, allocations: 1.641 MB / 0.4913 GB, free: 4.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5726, allocations: 0 / 0.4913 GB, free: 4.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003626/0.5762, allocations: 0.7031 MB / 0.4919 GB, free: 3.539 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.0006181/0.5768, allocations: 205.3 kB / 0.4921 GB, free: 3.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0107/0.5875, allocations: 4.86 MB / 0.4969 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.5876, allocations: 7.938 kB / 0.4969 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003866/0.5915, allocations: 2.496 MB / 0.4993 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/0.5955, allocations: 0.7245 MB / 0.5 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.608, allocations: 8.189 MB / 0.508 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/0.6103, allocations: 2.533 MB / 0.5105 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00197/0.6122, allocations: 0.5946 MB / 0.5111 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.6127, allocations: 155.4 kB / 0.5112 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6127, allocations: 0 / 0.5112 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Templates: time 0.2766/0.8893, allocations: 42.22 MB / 0.5525 GB, free: 135.5 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/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