Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 47.92 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.237, allocations: 53.35 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01429/0.2513, allocations: 11.97 MB / 444.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007438/0.2587, allocations: 3.841 MB / 448.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.2604, allocations: 95.38 kB / 448.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.2626, allocations: 0.9363 MB / 449.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.2657, allocations: 1.15 MB / 450.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.2669, allocations: 0.507 MB / 450.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005256/0.2722, allocations: 4.238 MB / 455.1 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.2749, allocations: 1.845 MB / 457 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.2779, allocations: 1.97 MB / 458.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.2819, allocations: 2.386 MB / 461.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009818/0.2828, allocations: 0.4961 MB / 461.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2843, allocations: 0.6014 MB / 462.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.2858, allocations: 1.414 MB / 463.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002998/0.2888, allocations: 2.209 MB / 466.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008031/0.2969, allocations: 6.591 MB / 472.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2969, allocations: 4 kB / 472.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2969, allocations: 0 / 472.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001841/0.2971, allocations: 0 / 472.6 MB, free: 14.46 MB / 382.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.01049/0.3075, allocations: 4.348 MB / 477 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.3076, allocations: 8.031 kB / 477 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.3091, allocations: 490.2 kB / 477.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/0.3145, allocations: 2.359 MB / 479.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.3147, allocations: 234.2 kB / 480.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007533/0.3155, allocations: 311.9 kB / 480.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007923/0.3234, allocations: 4.369 MB / 484.7 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.63e-05/0.3235, allocations: 11.89 kB / 484.8 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.3238, allocations: 120 kB / 484.9 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.3239, allocations: 134 kB / 485 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006572/0.3305, allocations: 3.779 MB / 488.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02218/0.3527, allocations: 13.25 MB / 0.4903 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.356, allocations: 2.082 MB / 0.4923 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.3587, allocations: 1.567 MB / 0.4938 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.359, allocations: 45.28 kB / 0.4939 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.359, allocations: 55.86 kB / 0.4939 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.216e-06/0.359, allocations: 0 / 0.4939 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01765/0.3767, allocations: 8.511 MB / 0.5022 GB, free: 4.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3767, allocations: 73.41 kB / 0.5023 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.3803, allocations: 2.374 MB / 0.5046 GB, free: 1.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.3804, allocations: 57.7 kB / 0.5047 GB, free: 1.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.3816, allocations: 1.509 MB / 0.5062 GB, free: 132 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000573/0.3822, allocations: 0.6315 MB / 0.5068 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/0.3828, allocations: 363.5 kB / 0.5071 GB, free: 15.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3829, allocations: 301.1 kB / 0.5074 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.3847, allocations: 1.128 MB / 0.5085 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.3868, allocations: 1.57 MB / 0.51 GB, free: 11.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/0.3908, allocations: 2.784 MB / 0.5128 GB, free: 9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.3908, allocations: 4 kB / 0.5128 GB, free: 8.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006253/0.3971, allocations: 3.597 MB / 0.5163 GB, free: 5.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.3971, allocations: 15.94 kB / 0.5163 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.3972, allocations: 15.98 kB / 0.5163 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/0.3992, allocations: 0.8022 MB / 0.5171 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.4009, allocations: 455.3 kB / 0.5175 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.4122, allocations: 10.67 MB / 0.528 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.4142, allocations: 123.9 kB / 0.5281 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.4144, allocations: 75.98 kB / 0.5281 GB, free: 8.633 MB / 446.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.001934/0.4163, allocations: 1.092 MB / 0.5292 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/0.4168, allocations: 262.3 kB / 0.5295 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005909/0.4228, allocations: 3.286 MB / 0.5327 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.4228, allocations: 23.98 kB / 0.5327 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.4228, allocations: 11.94 kB / 0.5327 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/0.4228, allocations: 11.95 kB / 0.5327 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2219/0.6447, allocations: 6.811 MB / 0.5394 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.6447, allocations: 1.438 kB / 0.5394 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.646, allocations: 296.5 kB / 0.5396 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.6482, allocations: 0.916 MB / 0.5405 GB, free: 98.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.6484, allocations: 46.31 kB / 0.5406 GB, free: 98.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.6586, allocations: 13.9 MB / 0.5542 GB, free: 87.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6586, allocations: 3.656 kB / 0.5542 GB, free: 87.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006081/0.6647, allocations: 4.852 MB / 0.5589 GB, free: 85.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.6661, allocations: 0.5133 MB / 0.5594 GB, free: 85.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.6664, allocations: 35.72 kB / 0.5594 GB, free: 85.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.6676, allocations: 122.8 kB / 0.5596 GB, free: 85.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/0.668, allocations: 158.6 kB / 0.5597 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.476e-05/0.6681, allocations: 50.39 kB / 0.5598 GB, free: 85.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.67, allocations: 1.64 MB / 0.5614 GB, free: 84.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.67, allocations: 0 / 0.5614 GB, free: 84.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001886/0.6719, allocations: 0.7069 MB / 0.5621 GB, free: 84.13 MB / 446.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.0003501/0.6722, allocations: 213.5 kB / 0.5623 GB, free: 83.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.6761, allocations: 3.332 MB / 0.5655 GB, free: 80.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6761, allocations: 0 / 0.5655 GB, free: 80.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.6788, allocations: 2.357 MB / 0.5678 GB, free: 78.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.6816, allocations: 0.7251 MB / 0.5685 GB, free: 77.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00873/0.6903, allocations: 6.918 MB / 0.5753 GB, free: 70.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.6918, allocations: 2.479 MB / 0.5777 GB, free: 68.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007265/0.6926, allocations: 171.4 kB / 0.5779 GB, free: 68.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6926, allocations: 4 kB / 0.5779 GB, free: 68.06 MB / 446.1 MB Notification: Performance of Templates: time 0.3626/1.055, allocations: 168.9 MB / 0.7428 GB, free: 188.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.17101208283566]