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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 114 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 59.91 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1038, allocations: 53.32 MB / 427.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01519/0.119, allocations: 11.92 MB / 439.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007689/0.1267, allocations: 3.845 MB / 443.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.1283, allocations: 71.69 kB / 443.7 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.1306, allocations: 0.9289 MB / 444.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.1342, allocations: 1.13 MB / 445.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1354, allocations: 0.4954 MB / 446.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2005/0.3359, allocations: 4.259 MB / 450.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.339, allocations: 2.4 MB / 452.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.3421, allocations: 1.932 MB / 454.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004567/0.3466, allocations: 2.394 MB / 457.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.3482, allocations: 0.4944 MB / 457.7 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.3503, allocations: 0.5984 MB / 458.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.3519, allocations: 1.412 MB / 459.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003353/0.3552, allocations: 2.213 MB / 461.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007534/0.3628, allocations: 6.586 MB / 468.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3628, allocations: 5.375 kB / 468.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3628, allocations: 0 / 468.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.363, allocations: 5.969 kB / 468.5 MB, free: 5.312 MB / 366.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.009553/0.3725, allocations: 4.416 MB / 473 MB, free: 2.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3726, allocations: 13.05 kB / 473 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.3742, allocations: 495.2 kB / 473.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.3787, allocations: 2.423 MB / 475.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.3788, allocations: 233.8 kB / 476.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.3794, allocations: 312.7 kB / 476.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008782/0.3882, allocations: 4.374 MB / 480.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.028e-05/0.3883, allocations: 10.02 kB / 480.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.3886, allocations: 124.3 kB / 480.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.3887, allocations: 134.8 kB / 481 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007233/0.396, allocations: 3.774 MB / 484.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.4203, allocations: 13.41 MB / 498.2 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.4243, allocations: 2.774 MB / 0.4893 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.4273, allocations: 1.57 MB / 0.4908 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/0.4276, allocations: 126.4 kB / 0.4909 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.4276, allocations: 51.88 kB / 0.491 GB, free: 12.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.797e-06/0.4276, allocations: 2.719 kB / 0.491 GB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02074/0.4484, allocations: 9.032 MB / 0.4998 GB, free: 3.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.4485, allocations: 73.41 kB / 0.4999 GB, free: 3.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/0.4527, allocations: 2.366 MB / 0.5022 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000288/0.453, allocations: 57.7 kB / 0.5022 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.4543, allocations: 1.513 MB / 0.5037 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.455, allocations: 0.6331 MB / 0.5043 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006879/0.4557, allocations: 367.5 kB / 0.5047 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4558, allocations: 309.1 kB / 0.505 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.4578, allocations: 1.128 MB / 0.5061 GB, free: 12.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.4602, allocations: 1.57 MB / 0.5076 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/0.4645, allocations: 2.778 MB / 0.5103 GB, free: 8.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4645, allocations: 4 kB / 0.5103 GB, free: 8.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006756/0.4713, allocations: 3.598 MB / 0.5138 GB, free: 4.492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.4713, allocations: 12 kB / 0.5138 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.4713, allocations: 12 kB / 0.5138 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.4735, allocations: 0.807 MB / 0.5146 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.4753, allocations: 460 kB / 0.5151 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.4875, allocations: 11.18 MB / 0.526 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.4899, allocations: 124.4 kB / 0.5261 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.4901, allocations: 79.98 kB / 0.5262 GB, free: 7.199 MB / 430.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.00225/0.4923, allocations: 1.088 MB / 0.5272 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005748/0.4929, allocations: 262.4 kB / 0.5275 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006171/0.4991, allocations: 3.29 MB / 0.5307 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.4991, allocations: 20 kB / 0.5307 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.4991, allocations: 7.984 kB / 0.5307 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.4991, allocations: 7.969 kB / 0.5307 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.5121, allocations: 6.841 MB / 0.5374 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5121, allocations: 0 / 0.5374 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.5134, allocations: 301.4 kB / 0.5377 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.516, allocations: 0.9201 MB / 0.5386 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.5161, allocations: 43.97 kB / 0.5387 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/0.5317, allocations: 14.62 MB / 0.5529 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.5317, allocations: 7.406 kB / 0.5529 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008855/0.5406, allocations: 4.862 MB / 0.5577 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/0.5423, allocations: 0.5735 MB / 0.5582 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005024/0.5428, allocations: 36 kB / 0.5583 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.5442, allocations: 119.9 kB / 0.5584 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/0.5447, allocations: 160.9 kB / 0.5585 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.5448, allocations: 51.98 kB / 0.5586 GB, free: 4.992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002888/0.5477, allocations: 1.641 MB / 0.5602 GB, free: 3.336 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5477, allocations: 0 / 0.5602 GB, free: 3.336 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00269/0.5504, allocations: 0.7033 MB / 0.5609 GB, free: 2.633 MB / 462.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.0004713/0.5509, allocations: 206.9 kB / 0.5611 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005741/0.5566, allocations: 3.496 MB / 0.5645 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5566, allocations: 0 / 0.5645 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004088/0.5607, allocations: 2.424 MB / 0.5669 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.5647, allocations: 0.7196 MB / 0.5676 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.5771, allocations: 6.882 MB / 0.5743 GB, free: 4.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002462/0.5796, allocations: 2.475 MB / 0.5767 GB, free: 2.262 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009226/0.5805, allocations: 171.4 kB / 0.5769 GB, free: 2.094 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5805, allocations: 0 / 0.5769 GB, free: 2.094 MB / 478.1 MB Notification: Performance of Templates: time 0.3533/0.9339, allocations: 168.9 MB / 0.7418 GB, free: 102.1 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.554186859866604]