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.002272/0.002272, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002505/0.002505, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.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.001802/0.001802, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2895, allocations: 53.38 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01468/0.3042, allocations: 10.42 MB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.3125, allocations: 3.635 MB / 445.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.3147, allocations: 91.38 kB / 445.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.3176, allocations: 0.8701 MB / 446.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.3219, allocations: 1.146 MB / 447.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.3238, allocations: 0.4993 MB / 448.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006007/0.3298, allocations: 4.23 MB / 452.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.3333, allocations: 1.782 MB / 454.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.3368, allocations: 1.97 MB / 456.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/0.3413, allocations: 2.308 MB / 458.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.3428, allocations: 0.4999 MB / 459 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.345, allocations: 0.5897 MB / 459.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.3474, allocations: 1.418 MB / 461.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003981/0.3514, allocations: 1.782 MB / 462.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009368/0.3608, allocations: 6.63 MB / 469.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.3608, allocations: 0 / 469.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3608, allocations: 0 / 469.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002708/0.361, allocations: 0 / 469.5 MB, free: 0.6328 MB / 366.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.01162/0.3727, allocations: 4.348 MB / 473.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3727, allocations: 12.03 kB / 473.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.3743, allocations: 494.2 kB / 474.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006066/0.3803, allocations: 2.359 MB / 476.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.3806, allocations: 234.1 kB / 476.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007361/0.3813, allocations: 311.9 kB / 477.2 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009358/0.3907, allocations: 4.599 MB / 481.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.154e-05/0.3908, allocations: 15.88 kB / 481.8 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.3911, allocations: 124 kB / 481.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.3913, allocations: 130 kB / 482.1 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007562/0.3988, allocations: 3.771 MB / 485.8 MB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.4241, allocations: 11.73 MB / 497.6 MB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.4278, allocations: 2.083 MB / 499.6 MB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/0.4307, allocations: 1.563 MB / 0.4895 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.431, allocations: 53.28 kB / 0.4895 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.4311, allocations: 51.88 kB / 0.4896 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.707e-06/0.4311, allocations: 0 / 0.4896 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02032/0.4514, allocations: 8.484 MB / 0.4978 GB, free: 7.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.4515, allocations: 69.41 kB / 0.4979 GB, free: 7.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.4562, allocations: 2.149 MB / 0.5 GB, free: 5.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.4564, allocations: 57.7 kB / 0.5001 GB, free: 5.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.4579, allocations: 1.519 MB / 0.5015 GB, free: 3.789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007611/0.4587, allocations: 0.6313 MB / 0.5022 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008232/0.4595, allocations: 367.5 kB / 0.5025 GB, free: 2.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4596, allocations: 305.1 kB / 0.5028 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.4617, allocations: 1.128 MB / 0.5039 GB, free: 1.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.4641, allocations: 1.57 MB / 0.5054 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004476/0.4686, allocations: 2.784 MB / 0.5082 GB, free: 12.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.4686, allocations: 4 kB / 0.5082 GB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006804/0.4754, allocations: 3.574 MB / 0.5117 GB, free: 9.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4754, allocations: 16.03 kB / 0.5117 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.4755, allocations: 15.94 kB / 0.5117 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.4775, allocations: 0.8016 MB / 0.5125 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.4793, allocations: 463.3 kB / 0.5129 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.4909, allocations: 10.46 MB / 0.5231 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.4929, allocations: 123.8 kB / 0.5232 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.4932, allocations: 79.98 kB / 0.5233 GB, free: 12.57 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.00206/0.4952, allocations: 1.095 MB / 0.5244 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006496/0.4959, allocations: 238.5 kB / 0.5246 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/0.5021, allocations: 3.268 MB / 0.5278 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.5021, allocations: 19.94 kB / 0.5278 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.5021, allocations: 15.88 kB / 0.5278 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.5021, allocations: 7.969 kB / 0.5278 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.5152, allocations: 6.048 MB / 0.5338 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5152, allocations: 0 / 0.5338 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.5165, allocations: 303.8 kB / 0.534 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.5189, allocations: 0.9236 MB / 0.5349 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.519, allocations: 39.98 kB / 0.535 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.275/0.794, allocations: 13.64 MB / 0.5483 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.794, allocations: 3.375 kB / 0.5483 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006731/0.8008, allocations: 4.841 MB / 0.553 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/0.8022, allocations: 490.3 kB / 0.5535 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/0.8026, allocations: 35.34 kB / 0.5535 GB, free: 88.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.8038, allocations: 123.8 kB / 0.5537 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.8042, allocations: 166.9 kB / 0.5538 GB, free: 88.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.8043, allocations: 48.28 kB / 0.5539 GB, free: 88.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.8063, allocations: 1.467 MB / 0.5553 GB, free: 88.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8063, allocations: 0 / 0.5553 GB, free: 88.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00204/0.8083, allocations: 0.7033 MB / 0.556 GB, free: 88.12 MB / 446.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.0003761/0.8087, allocations: 208.5 kB / 0.5562 GB, free: 87.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004311/0.813, allocations: 3.335 MB / 0.5594 GB, free: 84.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.813, allocations: 4 kB / 0.5594 GB, free: 84.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/0.8159, allocations: 2.35 MB / 0.5617 GB, free: 82.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.8187, allocations: 0.6202 MB / 0.5623 GB, free: 82.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008979/0.8277, allocations: 6.858 MB / 0.569 GB, free: 75.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.8294, allocations: 1.979 MB / 0.571 GB, free: 73.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002345/0.8318, allocations: 0.5616 MB / 0.5715 GB, free: 73.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/0.8325, allocations: 147.4 kB / 0.5717 GB, free: 73.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8325, allocations: 0 / 0.5717 GB, free: 73.06 MB / 446.1 MB Notification: Performance of Templates: time 0.07831/0.9108, allocations: 44.96 MB / 0.6156 GB, free: 28.62 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 -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/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_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.979389548301697]