Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.094/1.094, allocations: 173.4 MB / 201.2 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.131e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01466/0.01469, allocations: 11.73 MB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009999/0.02469, allocations: 3.693 MB / 283.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.02687, allocations: 91.38 kB / 283.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.02913, allocations: 0.8693 MB / 284.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.03269, allocations: 1.184 MB / 285.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.03385, allocations: 499.2 kB / 286.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.138/0.1719, allocations: 4.36 MB / 290.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/0.1747, allocations: 1.791 MB / 292.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/0.1794, allocations: 3.065 MB / 295.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.1826, allocations: 2.17 MB / 297.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.1837, allocations: 493 kB / 297.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1848, allocations: 0.5673 MB / 298.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009665/0.1858, allocations: 1.413 MB / 299.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.1877, allocations: 1.513 MB / 301.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.1908, allocations: 3.563 MB / 305 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1908, allocations: 3.656 kB / 305 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1908, allocations: 0 / 305 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.022e-05/0.1908, allocations: 0 / 305 MB, free: 14.09 MB / 266.7 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.004304/0.1951, allocations: 4.476 MB / 309.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1952, allocations: 10.7 kB / 309.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.196, allocations: 0.6981 MB / 310.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.198, allocations: 2.207 MB / 312.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.1981, allocations: 235.2 kB / 312.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.1984, allocations: 309.5 kB / 312.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.2012, allocations: 2.67 MB / 315.6 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/0.2012, allocations: 11.95 kB / 315.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.2014, allocations: 124 kB / 315.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-05/0.2015, allocations: 130 kB / 315.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.2034, allocations: 1.168 MB / 317 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009163/0.2126, allocations: 10.9 MB / 327.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.214, allocations: 1.201 MB / 329.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.2152, allocations: 0.821 MB / 329.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.2153, allocations: 64.22 kB / 330 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.2154, allocations: 58.7 kB / 330 MB, free: 9.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.116e-06/0.2154, allocations: 1.031 kB / 330 MB, free: 9.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006611/0.222, allocations: 4.468 MB / 334.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.222, allocations: 73.41 kB / 334.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.2237, allocations: 1.824 MB / 336.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.441e-05/0.2238, allocations: 57.7 kB / 336.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007902/0.2246, allocations: 1.609 MB / 338.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.2249, allocations: 0.6417 MB / 338.7 MB, free: 356 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.2253, allocations: 388.7 kB / 339.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.2254, allocations: 484.8 kB / 339.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.226, allocations: 323.7 kB / 339.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.2268, allocations: 0.9427 MB / 340.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.2282, allocations: 1.413 MB / 342.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2282, allocations: 4 kB / 342.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00243/0.2307, allocations: 1.864 MB / 344.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2307, allocations: 12 kB / 344.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2307, allocations: 16.03 kB / 344.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.2319, allocations: 0.504 MB / 344.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.2328, allocations: 443.5 kB / 345.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/0.2382, allocations: 10.3 MB / 355.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.2389, allocations: 107.8 kB / 355.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.591e-05/0.239, allocations: 72 kB / 355.6 MB, free: 14.61 MB / 314.7 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.000543/0.2396, allocations: 285.9 kB / 355.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.2399, allocations: 306.4 kB / 356.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.2419, allocations: 1.611 MB / 357.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.2419, allocations: 16 kB / 357.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.242, allocations: 8 kB / 357.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.242, allocations: 7.969 kB / 357.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.247, allocations: 4.258 MB / 362 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.247, allocations: 4 kB / 362 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/0.2477, allocations: 287.8 kB / 362.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.2489, allocations: 0.5982 MB / 362.9 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.249, allocations: 39.98 kB / 363 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006292/0.2553, allocations: 13.81 MB / 376.8 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2553, allocations: 4.062 kB / 376.8 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.2581, allocations: 2.219 MB / 379 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.2586, allocations: 442.3 kB / 379.4 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.2588, allocations: 39.98 kB / 379.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.2594, allocations: 103.8 kB / 379.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.2596, allocations: 165.2 kB / 379.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.2597, allocations: 55.98 kB / 379.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001014/0.2607, allocations: 1.03 MB / 380.8 MB, free: 4.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2607, allocations: 0 / 380.8 MB, free: 4.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001279/0.262, allocations: 0.6953 MB / 381.5 MB, free: 3.723 MB / 330.7 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%), (1,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002924/0.2623, allocations: 205.3 kB / 381.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.2644, allocations: 2.241 MB / 383.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2644, allocations: 0 / 383.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.266, allocations: 2.034 MB / 386 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.2675, allocations: 0.6303 MB / 386.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.2739, allocations: 5.617 MB / 392.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/0.2745, allocations: 0.8988 MB / 393.1 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008569/0.2754, allocations: 454.9 kB / 393.6 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.2757, allocations: 152.5 kB / 393.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2757, allocations: 0 / 393.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of Templates: time 0.1541/0.4299, allocations: 41.53 MB / 435.2 MB, free: 123.1 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.098921922035515]