Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 109.4 kB / 18.78 MB, free: 3.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 211.2 kB / 19.79 MB, free: 2.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.585/1.585, allocations: 230.4 MB / 251.1 MB, free: 8.469 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 67.83 kB / 369 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2699, allocations: 53.32 MB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01557/0.2855, allocations: 11.91 MB / 434.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007843/0.2933, allocations: 3.833 MB / 438 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.2953, allocations: 71.69 kB / 438.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.2977, allocations: 0.9289 MB / 439 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.3011, allocations: 1.142 MB / 440.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3025, allocations: 0.5031 MB / 440.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005883/0.3084, allocations: 4.241 MB / 444.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.3116, allocations: 2.399 MB / 447.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.3147, allocations: 1.92 MB / 449.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/0.3187, allocations: 2.394 MB / 451.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.3197, allocations: 0.4922 MB / 452.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.3211, allocations: 0.6053 MB / 452.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.3226, allocations: 1.41 MB / 454.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.3256, allocations: 2.209 MB / 456.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007521/0.3331, allocations: 6.594 MB / 462.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3331, allocations: 4 kB / 462.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3331, allocations: 0 / 462.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.3332, allocations: 4 kB / 462.9 MB, free: 14.97 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.009861/0.3431, allocations: 4.419 MB / 467.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3431, allocations: 12.03 kB / 467.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.3445, allocations: 490.2 kB / 467.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/0.3489, allocations: 2.424 MB / 470.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.3491, allocations: 230.2 kB / 470.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/0.3496, allocations: 311.9 kB / 470.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007673/0.3573, allocations: 4.369 MB / 475.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.162e-05/0.3574, allocations: 7.953 kB / 475.2 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.3577, allocations: 128 kB / 475.3 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.3578, allocations: 134 kB / 475.4 MB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006664/0.3645, allocations: 3.775 MB / 479.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0244/0.3889, allocations: 13.41 MB / 492.6 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.3928, allocations: 2.766 MB / 495.4 MB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002917/0.3957, allocations: 1.567 MB / 497 MB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.396, allocations: 130.3 kB / 497.1 MB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.396, allocations: 55.81 kB / 497.1 MB, free: 12.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.236e-06/0.396, allocations: 0 / 497.1 MB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01925/0.4153, allocations: 9.026 MB / 0.4943 GB, free: 2.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.4153, allocations: 77.33 kB / 0.4944 GB, free: 2.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.4193, allocations: 2.378 MB / 0.4967 GB, free: 308 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.4195, allocations: 53.7 kB / 0.4968 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.4208, allocations: 1.505 MB / 0.4982 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/0.4214, allocations: 0.6313 MB / 0.4988 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006397/0.422, allocations: 371.4 kB / 0.4992 GB, free: 13.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4222, allocations: 305.1 kB / 0.4995 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.4241, allocations: 1.128 MB / 0.5006 GB, free: 12.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.4264, allocations: 1.567 MB / 0.5021 GB, free: 10.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/0.4306, allocations: 2.784 MB / 0.5048 GB, free: 7.586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4307, allocations: 4 kB / 0.5048 GB, free: 7.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006633/0.4373, allocations: 3.593 MB / 0.5083 GB, free: 3.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4373, allocations: 11.94 kB / 0.5084 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.4373, allocations: 16 kB / 0.5084 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/0.4396, allocations: 0.8025 MB / 0.5092 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.4414, allocations: 459.3 kB / 0.5096 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.4546, allocations: 11.17 MB / 0.5205 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.4572, allocations: 135.9 kB / 0.5206 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/0.4575, allocations: 68 kB / 0.5207 GB, free: 6.586 MB / 446.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.00326/0.4608, allocations: 1.098 MB / 0.5218 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.4618, allocations: 266.3 kB / 0.522 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/0.4682, allocations: 3.293 MB / 0.5252 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.4682, allocations: 16 kB / 0.5253 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.4682, allocations: 8 kB / 0.5253 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.4683, allocations: 7.969 kB / 0.5253 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.481, allocations: 6.837 MB / 0.532 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.481, allocations: 3.984 kB / 0.532 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.4824, allocations: 291.6 kB / 0.5322 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002499/0.4849, allocations: 0.92 MB / 0.5331 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.485, allocations: 43.97 kB / 0.5332 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2497/0.7347, allocations: 14.61 MB / 0.5474 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.7347, allocations: 8.844 kB / 0.5475 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/0.7434, allocations: 4.861 MB / 0.5522 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.745, allocations: 0.5759 MB / 0.5528 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.7453, allocations: 44.05 kB / 0.5528 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.7465, allocations: 120.8 kB / 0.5529 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/0.747, allocations: 151.4 kB / 0.5531 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-05/0.7471, allocations: 48.11 kB / 0.5531 GB, free: 108.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002266/0.7493, allocations: 1.644 MB / 0.5547 GB, free: 107.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7493, allocations: 3.969 kB / 0.5547 GB, free: 107.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002455/0.7518, allocations: 0.7076 MB / 0.5554 GB, free: 107.5 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.0004902/0.7523, allocations: 212.2 kB / 0.5556 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004718/0.757, allocations: 3.477 MB / 0.559 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.757, allocations: 3.969 kB / 0.559 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002802/0.7598, allocations: 2.431 MB / 0.5614 GB, free: 104.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.7628, allocations: 0.7232 MB / 0.5621 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009264/0.7721, allocations: 6.882 MB / 0.5688 GB, free: 98.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.7738, allocations: 2.537 MB / 0.5713 GB, free: 95.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001576/0.7754, allocations: 0.5867 MB / 0.5719 GB, free: 95.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.7758, allocations: 163.4 kB / 0.572 GB, free: 95.18 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.7758, allocations: 0 / 0.572 GB, free: 95.18 MB / 462.1 MB Notification: Performance of Templates: time 0.06835/0.8442, allocations: 41.54 MB / 0.6126 GB, free: 54.13 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches