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.001618/0.001618, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002023, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.1 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 60.59 kB / 307.1 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 50.54 MB / 357.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01315/0.1264, allocations: 11.75 MB / 369.4 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2177/0.3442, allocations: 3.771 MB / 373.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.3472, allocations: 67.41 kB / 373.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003498/0.3507, allocations: 0.7727 MB / 374 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.3559, allocations: 0.9926 MB / 375 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.3579, allocations: 440.8 kB / 375.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007284/0.3652, allocations: 4.238 MB / 379.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007099/0.3723, allocations: 3.295 MB / 383 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.3778, allocations: 1.925 MB / 384.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006273/0.3841, allocations: 2.385 MB / 387.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00279/0.3869, allocations: 0.4943 MB / 387.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.3912, allocations: 0.6035 MB / 388.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003664/0.3949, allocations: 1.396 MB / 389.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008355/0.4033, allocations: 2.214 MB / 392 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008811/0.4121, allocations: 5.501 MB / 397.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.4122, allocations: 4 kB / 397.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4122, allocations: 0 / 397.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003107/0.4125, allocations: 0 / 397.5 MB, free: 15.93 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.01626/0.4288, allocations: 4.314 MB / 401.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.4289, allocations: 10 kB / 401.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.4317, allocations: 474.4 kB / 402.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0064/0.4381, allocations: 2.333 MB / 404.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.4384, allocations: 233.1 kB / 404.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.4395, allocations: 315.8 kB / 405.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.4503, allocations: 4.373 MB / 409.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.4505, allocations: 7.875 kB / 409.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003751/0.4509, allocations: 126.5 kB / 409.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.451, allocations: 130 kB / 409.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00821/0.4592, allocations: 3.779 MB / 413.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.4917, allocations: 13.52 MB / 427.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004342/0.4961, allocations: 2.912 MB / 430 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.4994, allocations: 1.678 MB / 431.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.4998, allocations: 126.4 kB / 431.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.4999, allocations: 51.88 kB / 431.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 3.887e-06/0.4999, allocations: 7.938 kB / 431.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.02184/0.5217, allocations: 8.992 MB / 440.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.5218, allocations: 69.41 kB / 440.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/0.5277, allocations: 2.37 MB / 443.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004412/0.5282, allocations: 53.7 kB / 443.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.5297, allocations: 1.477 MB / 444.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000883/0.5306, allocations: 0.6097 MB / 445.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.5317, allocations: 359.3 kB / 445.8 MB, free: 484 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5318, allocations: 309.1 kB / 446.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.5339, allocations: 1.125 MB / 447.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.5362, allocations: 1.573 MB / 448.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.5406, allocations: 2.787 MB / 451.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/0.5407, allocations: 4 kB / 451.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006989/0.5477, allocations: 3.588 MB / 455.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.5477, allocations: 8 kB / 455.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.5478, allocations: 16.5 kB / 455.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.5499, allocations: 0.8041 MB / 456 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.5518, allocations: 467.2 kB / 456.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.5633, allocations: 11.18 MB / 467.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.5659, allocations: 123.8 kB / 467.7 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004382/0.5664, allocations: 75.98 kB / 467.8 MB, free: 9.34 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.002785/0.5692, allocations: 1.095 MB / 468.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009799/0.5701, allocations: 245 kB / 469.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/0.5769, allocations: 3.301 MB / 472.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.577, allocations: 20 kB / 472.5 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.141e-05/0.577, allocations: 7.938 kB / 472.5 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.577, allocations: 7.969 kB / 472.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.5919, allocations: 6.899 MB / 479.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.592, allocations: 4 kB / 479.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5934, allocations: 291.6 kB / 479.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/0.596, allocations: 0.9238 MB / 480.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.5962, allocations: 39.98 kB / 480.6 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.6103, allocations: 14.64 MB / 495.3 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6104, allocations: 0 / 495.3 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008801/0.6192, allocations: 4.871 MB / 0.4884 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.6209, allocations: 0.5604 MB / 0.489 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008896/0.6218, allocations: 39.98 kB / 0.489 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.6238, allocations: 115.9 kB / 0.4891 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/0.6243, allocations: 165.6 kB / 0.4893 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.6245, allocations: 51.98 kB / 0.4893 GB, free: 6.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003445/0.6279, allocations: 1.641 MB / 0.4909 GB, free: 5.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.6279, allocations: 0 / 0.4909 GB, free: 5.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00349/0.6314, allocations: 0.707 MB / 0.4916 GB, free: 4.516 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.0006375/0.6321, allocations: 205.3 kB / 0.4918 GB, free: 4.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009357/0.6414, allocations: 4.85 MB / 0.4965 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.6415, allocations: 1.812 kB / 0.4966 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003994/0.6455, allocations: 2.507 MB / 0.499 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/0.6504, allocations: 0.7216 MB / 0.4997 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.6657, allocations: 8.192 MB / 0.5077 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003365/0.6691, allocations: 2.486 MB / 0.5101 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.6702, allocations: 167.4 kB / 0.5103 GB, free: 1.105 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6702, allocations: 0 / 0.5103 GB, free: 1.105 MB / 430.1 MB Notification: Performance of Templates: time 0.3352/1.005, allocations: 168.3 MB / 0.6746 GB, free: 10.44 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/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