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.001077/0.001077, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001254/0.001254, allocations: 165.8 kB / 24.99 MB, free: 8.75 MB / 18.57 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 0.9983/0.9983, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.343e-05, allocations: 6.312 kB / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01391/0.01393, allocations: 11.72 MB / 284.7 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008356/0.02228, allocations: 3.779 MB / 288.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.02406, allocations: 95.38 kB / 288.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.02632, allocations: 0.8702 MB / 289.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1184/0.1447, allocations: 1.201 MB / 290.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1461, allocations: 0.4907 MB / 291.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.1501, allocations: 4.402 MB / 295.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.1521, allocations: 1.791 MB / 297.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.1552, allocations: 2.885 MB / 300.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.1579, allocations: 2.26 MB / 302.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007104/0.1586, allocations: 0.494 MB / 303 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007829/0.1593, allocations: 0.5874 MB / 303.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007581/0.1601, allocations: 1.48 MB / 305.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.1613, allocations: 1.546 MB / 306.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.1634, allocations: 3.639 MB / 310.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1634, allocations: 0 / 310.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1634, allocations: 0.9375 kB / 310.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.201e-05/0.1635, allocations: 3.844 kB / 310.3 MB, free: 9.867 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.003739/0.1672, allocations: 4.573 MB / 314.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.1672, allocations: 11.98 kB / 314.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.168, allocations: 0.7355 MB / 315.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.1699, allocations: 2.239 MB / 317.8 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.17, allocations: 230.5 kB / 318 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.1702, allocations: 311.8 kB / 318.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.173, allocations: 2.674 MB / 321 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.173, allocations: 11.8 kB / 321 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.1732, allocations: 124 kB / 321.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/0.1733, allocations: 134 kB / 321.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.1755, allocations: 1.165 MB / 322.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.1857, allocations: 11.05 MB / 333.5 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.1871, allocations: 1.165 MB / 334.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.1886, allocations: 0.8128 MB / 335.5 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.1887, allocations: 61.28 kB / 335.5 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1888, allocations: 58.7 kB / 335.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 2.785e-06/0.1888, allocations: 0 / 335.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006956/0.1957, allocations: 4.491 MB / 340.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1958, allocations: 69.41 kB / 340.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.1978, allocations: 1.846 MB / 342 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/0.1979, allocations: 61.7 kB / 342.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.1987, allocations: 1.627 MB / 343.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.1991, allocations: 0.6463 MB / 344.3 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/0.1995, allocations: 381.1 kB / 344.7 MB, free: 7.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1996, allocations: 476.8 kB / 345.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.2002, allocations: 327.8 kB / 345.5 MB, free: 6.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.2011, allocations: 0.9459 MB / 346.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.2028, allocations: 1.424 MB / 347.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.2028, allocations: 7.75 kB / 347.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002488/0.2053, allocations: 1.861 MB / 349.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2054, allocations: 12 kB / 349.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2054, allocations: 12 kB / 349.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.2065, allocations: 0.5128 MB / 350.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/0.2074, allocations: 453.6 kB / 350.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005293/0.2127, allocations: 10.29 MB / 361 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.2135, allocations: 127.9 kB / 361.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/0.2136, allocations: 72.12 kB / 361.2 MB, free: 6.184 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.000515/0.2141, allocations: 284.9 kB / 361.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.2144, allocations: 313.9 kB / 361.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.2167, allocations: 1.628 MB / 363.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.2167, allocations: 16 kB / 363.4 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.2167, allocations: 8 kB / 363.4 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.2167, allocations: 7.969 kB / 363.4 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.2219, allocations: 4.322 MB / 367.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2219, allocations: 8.031 kB / 367.8 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.2226, allocations: 289.5 kB / 368.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.224, allocations: 0.6137 MB / 368.7 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-05/0.2241, allocations: 39.98 kB / 368.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00732/0.2314, allocations: 13.98 MB / 382.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2314, allocations: 4 kB / 382.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.2346, allocations: 2.223 MB / 384.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006065/0.2352, allocations: 466.2 kB / 385.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.2354, allocations: 32 kB / 385.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.236, allocations: 119.9 kB / 385.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.2363, allocations: 169.2 kB / 385.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.2363, allocations: 47.98 kB / 385.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.2374, allocations: 1.05 MB / 386.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2374, allocations: 0 / 386.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0014/0.2388, allocations: 0.7031 MB / 387.5 MB, free: 10.96 MB / 346.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%), (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.0003087/0.2391, allocations: 216 kB / 387.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.2413, allocations: 2.252 MB / 389.9 MB, free: 8.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.2413, allocations: 4 kB / 390 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.2432, allocations: 2.093 MB / 392 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.2446, allocations: 0.6394 MB / 392.7 MB, free: 5.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.2511, allocations: 5.658 MB / 398.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.2518, allocations: 0.911 MB / 399.3 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007727/0.2526, allocations: 455.1 kB / 399.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.2529, allocations: 148.5 kB / 399.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.021e-06/0.2529, allocations: 4 kB / 399.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Templates: time 0.1599/0.4128, allocations: 41.06 MB / 440.9 MB, free: 110.9 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.921717652119696]