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.001849/0.001849, allocations: 88.83 kB / 20.68 MB, free: 1.02 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.002565/0.002565, allocations: 158.1 kB / 23.95 MB, free: 4.145 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.574/1.574, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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 1.553e-06/1.553e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.252e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01414/0.01416, allocations: 10.42 MB / 335.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.02422, allocations: 3.671 MB / 339.1 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.02726, allocations: 92.53 kB / 339.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.03053, allocations: 0.8684 MB / 340.1 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004806/0.03534, allocations: 1.181 MB / 341.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.03683, allocations: 0.5014 MB / 341.8 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00654/0.04337, allocations: 4.407 MB / 346.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003583/0.04695, allocations: 1.782 MB / 348 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005986/0.05294, allocations: 2.854 MB / 350.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004306/0.05724, allocations: 2.093 MB / 352.9 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.0583, allocations: 0.4961 MB / 353.4 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.06007, allocations: 0.5896 MB / 354 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.06177, allocations: 1.453 MB / 355.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.0644, allocations: 1.532 MB / 357 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008475/0.07287, allocations: 6.673 MB / 363.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.07288, allocations: 0 / 363.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.07288, allocations: 0 / 363.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001699/0.07305, allocations: 0 / 363.6 MB, free: 14.25 MB / 334.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.01037/0.08342, allocations: 4.309 MB / 368 MB, free: 9.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.08347, allocations: 11.98 kB / 368 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.08496, allocations: 490.2 kB / 368.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.08979, allocations: 2.367 MB / 370.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.09001, allocations: 230.5 kB / 371 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005611/0.09057, allocations: 308.1 kB / 371.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008613/0.09918, allocations: 4.603 MB / 375.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.09925, allocations: 7.953 kB / 375.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/0.09959, allocations: 132 kB / 376.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.09976, allocations: 134 kB / 376.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00726/0.107, allocations: 3.779 MB / 380 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/0.1313, allocations: 11.72 MB / 391.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/0.135, allocations: 2.086 MB / 393.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/0.1382, allocations: 1.567 MB / 395.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.1384, allocations: 49.28 kB / 395.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/0.1385, allocations: 55.88 kB / 395.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 4.439e-06/0.1385, allocations: 4 kB / 395.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.01971/0.1582, allocations: 8.482 MB / 403.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.1583, allocations: 77.34 kB / 404 MB, free: 5.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.162, allocations: 2.157 MB / 406.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002912/0.1622, allocations: 53.7 kB / 406.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.1636, allocations: 1.515 MB / 407.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/0.1644, allocations: 0.6197 MB / 408.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007221/0.1651, allocations: 367.4 kB / 408.7 MB, free: 452 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1653, allocations: 305.1 kB / 409 MB, free: 144 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.1673, allocations: 1.124 MB / 410.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.1696, allocations: 1.574 MB / 411.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.1742, allocations: 2.78 MB / 414.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.1742, allocations: 4 kB / 414.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006842/0.181, allocations: 3.574 MB / 418.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.1811, allocations: 8 kB / 418.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.1811, allocations: 12 kB / 418.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.1833, allocations: 0.7984 MB / 418.9 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.1854, allocations: 455.3 kB / 419.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.1978, allocations: 10.48 MB / 429.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.1998, allocations: 127.8 kB / 429.9 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.2, allocations: 75.98 kB / 430 MB, free: 10.23 MB / 398.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.002125/0.2021, allocations: 1.091 MB / 431.1 MB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/0.2027, allocations: 242.5 kB / 431.3 MB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00641/0.2091, allocations: 3.264 MB / 434.6 MB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.2092, allocations: 23.94 kB / 434.6 MB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.2092, allocations: 8 kB / 434.6 MB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.2092, allocations: 11.95 kB / 434.7 MB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.2218, allocations: 6.044 MB / 440.7 MB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.2218, allocations: 0 / 440.7 MB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.2232, allocations: 295.6 kB / 441 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002669/0.2258, allocations: 0.9199 MB / 441.9 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.226, allocations: 39.98 kB / 441.9 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.2422, allocations: 13.65 MB / 455.6 MB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.2422, allocations: 4.031 kB / 455.6 MB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009141/0.2513, allocations: 4.838 MB / 460.4 MB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.2528, allocations: 486.3 kB / 460.9 MB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.2531, allocations: 39.98 kB / 461 MB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.2545, allocations: 119.9 kB / 461.1 MB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/0.2549, allocations: 169.6 kB / 461.2 MB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.2551, allocations: 51.98 kB / 461.3 MB, free: 10 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002494/0.2576, allocations: 1.456 MB / 462.7 MB, free: 8.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2576, allocations: 0 / 462.7 MB, free: 8.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002215/0.2598, allocations: 0.7071 MB / 463.5 MB, free: 7.816 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.0005007/0.2603, allocations: 205.9 kB / 463.7 MB, free: 7.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005876/0.2662, allocations: 3.34 MB / 467 MB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.2662, allocations: 0 / 467 MB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003966/0.2701, allocations: 2.351 MB / 469.3 MB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.2733, allocations: 0.6199 MB / 470 MB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.171/0.4443, allocations: 6.634 MB / 476.6 MB, free: 124.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/0.4475, allocations: 1.981 MB / 478.6 MB, free: 124.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002098/0.4496, allocations: 0.5597 MB / 479.1 MB, free: 124.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.4501, allocations: 151.7 kB / 479.3 MB, free: 124.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4501, allocations: 0 / 479.3 MB, free: 124.2 MB / 430.1 MB Notification: Performance of Templates: time 0.05834/0.5085, allocations: 40.74 MB / 0.5078 GB, free: 93.01 MB / 430.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.434779789298773]