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.001729/0.001729, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001971/0.001971, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.00153/0.00153, allocations: 46.84 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.08892, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01313/0.102, allocations: 10.41 MB / 389.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007187/0.1092, allocations: 3.639 MB / 393 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1105, allocations: 91.38 kB / 393.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1125, allocations: 0.8705 MB / 393.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1153, allocations: 1.142 MB / 395.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1163, allocations: 0.5032 MB / 395.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00483/0.1212, allocations: 4.245 MB / 399.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.1236, allocations: 1.782 MB / 401.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.1262, allocations: 1.967 MB / 403.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003368/0.1296, allocations: 2.312 MB / 405.9 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007268/0.1303, allocations: 0.4922 MB / 406.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1314, allocations: 0.5936 MB / 407 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.1329, allocations: 1.414 MB / 408.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.1351, allocations: 1.789 MB / 410.2 MB, free: 212 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.142, allocations: 6.626 MB / 416.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.142, allocations: 0 / 416.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.142, allocations: 8 kB / 416.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.242e-05/0.1421, allocations: 0 / 416.8 MB, free: 9.547 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.008757/0.1509, allocations: 4.34 MB / 421.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1509, allocations: 8.031 kB / 421.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.1522, allocations: 498.2 kB / 421.6 MB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.1564, allocations: 2.359 MB / 424 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.1566, allocations: 238.1 kB / 424.2 MB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/0.1571, allocations: 307.9 kB / 424.5 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0072/0.1643, allocations: 4.595 MB / 429.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.561e-05/0.1644, allocations: 11.89 kB / 429.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/0.1647, allocations: 124 kB / 429.3 MB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.1648, allocations: 130 kB / 429.4 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006375/0.1712, allocations: 3.775 MB / 433.2 MB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.1914, allocations: 11.75 MB / 444.9 MB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.1948, allocations: 2.071 MB / 447 MB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.1977, allocations: 1.559 MB / 448.5 MB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.198, allocations: 65.22 kB / 448.6 MB, free: 9.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.198, allocations: 55.81 kB / 448.7 MB, free: 9.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.957e-06/0.198, allocations: 0 / 448.7 MB, free: 9.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.02049/0.2185, allocations: 8.486 MB / 457.1 MB, free: 0.5547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.2186, allocations: 69.41 kB / 457.2 MB, free: 484 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005458/0.2241, allocations: 2.157 MB / 459.4 MB, free: 14.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.2243, allocations: 53.7 kB / 459.4 MB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/0.2262, allocations: 1.515 MB / 460.9 MB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.2272, allocations: 0.6391 MB / 461.6 MB, free: 12.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.2282, allocations: 363.5 kB / 461.9 MB, free: 11.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.2285, allocations: 313 kB / 462.2 MB, free: 11.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.2313, allocations: 1.128 MB / 463.4 MB, free: 10.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003436/0.2347, allocations: 1.563 MB / 464.9 MB, free: 8.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006753/0.2414, allocations: 2.788 MB / 467.7 MB, free: 5.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/0.2415, allocations: 4 kB / 467.7 MB, free: 5.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.009952/0.2514, allocations: 3.566 MB / 471.3 MB, free: 1.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.2515, allocations: 14.97 kB / 471.3 MB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.2515, allocations: 12 kB / 471.3 MB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/0.2545, allocations: 0.8102 MB / 472.1 MB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/0.2572, allocations: 455.3 kB / 472.6 MB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2103/0.4675, allocations: 10.45 MB / 483 MB, free: 75.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.4694, allocations: 129.5 kB / 483.1 MB, free: 75.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.4696, allocations: 76.81 kB / 483.2 MB, free: 75.27 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.001844/0.4714, allocations: 1.095 MB / 484.3 MB, free: 74.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.4718, allocations: 238.6 kB / 484.5 MB, free: 74.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005111/0.4769, allocations: 3.273 MB / 487.8 MB, free: 73.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.4769, allocations: 17.55 kB / 487.8 MB, free: 73.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4769, allocations: 7.906 kB / 487.8 MB, free: 73.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.477, allocations: 8.812 kB / 487.8 MB, free: 73.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/0.4863, allocations: 6.047 MB / 493.9 MB, free: 71.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.4863, allocations: 2.656 kB / 493.9 MB, free: 71.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.4875, allocations: 304.6 kB / 494.2 MB, free: 71.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.4895, allocations: 0.9199 MB / 495.1 MB, free: 70.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.4896, allocations: 44.34 kB / 495.2 MB, free: 70.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009772/0.4994, allocations: 13.66 MB / 0.4969 GB, free: 59.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4994, allocations: 4.031 kB / 0.4969 GB, free: 59.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005928/0.5053, allocations: 4.834 MB / 0.5016 GB, free: 54.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.5065, allocations: 498.4 kB / 0.5021 GB, free: 54.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.5068, allocations: 39.81 kB / 0.5021 GB, free: 54.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.508, allocations: 119.9 kB / 0.5022 GB, free: 54.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/0.5083, allocations: 165.6 kB / 0.5024 GB, free: 54.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5084, allocations: 47.98 kB / 0.5024 GB, free: 54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.5101, allocations: 1.471 MB / 0.5039 GB, free: 52.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5101, allocations: 0 / 0.5039 GB, free: 52.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002024/0.5121, allocations: 0.6972 MB / 0.5046 GB, free: 51.81 MB / 430.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.0003424/0.5124, allocations: 216.2 kB / 0.5048 GB, free: 51.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004018/0.5165, allocations: 3.331 MB / 0.508 GB, free: 48.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5165, allocations: 4 kB / 0.508 GB, free: 48.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.5191, allocations: 2.355 MB / 0.5103 GB, free: 45.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.5215, allocations: 0.6145 MB / 0.5109 GB, free: 45.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/0.5296, allocations: 6.842 MB / 0.5176 GB, free: 38.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.5312, allocations: 1.979 MB / 0.5195 GB, free: 36.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001267/0.5325, allocations: 0.5616 MB / 0.5201 GB, free: 35.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.5329, allocations: 152.4 kB / 0.5202 GB, free: 35.58 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5329, allocations: 0 / 0.5202 GB, free: 35.58 MB / 430.1 MB Notification: Performance of Templates: time 0.05291/0.5858, allocations: 41.04 MB / 0.5603 GB, free: 10.98 MB / 446.1 MB " [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 -s ida -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: 6.310053771012463]