Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001459/0.001459, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001452/0.001452, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.04 MB / 206.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.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.88 kB / 373.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1284, allocations: 53.32 MB / 427.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.253/0.3813, allocations: 9.477 MB / 436.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.387, allocations: 3.051 MB / 439.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.3885, allocations: 48.31 kB / 439.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.3902, allocations: 0.6718 MB / 440.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.3924, allocations: 0.8116 MB / 441.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.3932, allocations: 365.8 kB / 441.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.3965, allocations: 2.674 MB / 444.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.3987, allocations: 1.534 MB / 445.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.4011, allocations: 1.21 MB / 447 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.4036, allocations: 1.535 MB / 448.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.4041, allocations: 307.3 kB / 448.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.4053, allocations: 413.3 kB / 449.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009388/0.4063, allocations: 0.8966 MB / 450.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.4083, allocations: 1.408 MB / 451.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006873/0.4151, allocations: 4.119 MB / 455.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.4151, allocations: 0 / 455.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4151, allocations: 0 / 455.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.4152, allocations: 0 / 455.7 MB, free: 13.53 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008644/0.4239, allocations: 2.939 MB / 458.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.424, allocations: 9.719 kB / 458.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.4254, allocations: 334.3 kB / 458.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.4288, allocations: 1.558 MB / 460.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.429, allocations: 158.7 kB / 460.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.4293, allocations: 204.2 kB / 460.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/0.4347, allocations: 2.739 MB / 463.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/0.4348, allocations: 7.547 kB / 463.6 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.435, allocations: 82.52 kB / 463.7 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.4351, allocations: 95.77 kB / 463.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/0.4393, allocations: 2.322 MB / 466.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.4539, allocations: 8.335 MB / 474.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.4562, allocations: 1.711 MB / 476.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.4581, allocations: 1.018 MB / 477.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.4584, allocations: 122.1 kB / 477.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.4584, allocations: 43.56 kB / 477.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.4584, allocations: 0 / 477.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01387/0.4723, allocations: 6.244 MB / 483.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.4723, allocations: 68.39 kB / 483.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.475, allocations: 1.525 MB / 485.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.4752, allocations: 45.7 kB / 485.2 MB, free: 6.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008808/0.4761, allocations: 1.013 MB / 486.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.4766, allocations: 440.3 kB / 486.6 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.477, allocations: 247.5 kB / 486.9 MB, free: 4.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4772, allocations: 365.9 kB / 487.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.4785, allocations: 0.735 MB / 488 MB, free: 3.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.48, allocations: 1.055 MB / 489 MB, free: 2.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.4828, allocations: 1.879 MB / 490.9 MB, free: 116 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4828, allocations: 4.875 kB / 490.9 MB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004472/0.4873, allocations: 2.35 MB / 493.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.4873, allocations: 8 kB / 493.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.4874, allocations: 8 kB / 493.3 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4884, allocations: 411.5 kB / 493.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.4897, allocations: 331.5 kB / 494 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005901/0.4956, allocations: 5.067 MB / 499.1 MB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.4974, allocations: 95.86 kB / 499.2 MB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.4975, allocations: 63.97 kB / 499.2 MB, free: 7.492 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001531/0.4991, allocations: 0.708 MB / 499.9 MB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.4995, allocations: 170.9 kB / 0.4884 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.5035, allocations: 2.137 MB / 0.4905 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.5035, allocations: 12 kB / 0.4905 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5035, allocations: 4 kB / 0.4905 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.5035, allocations: 3.984 kB / 0.4905 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009136/0.5126, allocations: 4.554 MB / 0.4949 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5126, allocations: 0 / 0.4949 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.5136, allocations: 220 kB / 0.4951 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.5149, allocations: 478.1 kB / 0.4956 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-05/0.515, allocations: 33.91 kB / 0.4956 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/0.5223, allocations: 6.691 MB / 0.5022 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5223, allocations: 4.031 kB / 0.5022 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/0.5282, allocations: 3.181 MB / 0.5053 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.5294, allocations: 403.9 kB / 0.5057 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.5296, allocations: 32 kB / 0.5057 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.5305, allocations: 79.91 kB / 0.5058 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.5308, allocations: 100.8 kB / 0.5059 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/0.5309, allocations: 35.98 kB / 0.5059 GB, free: 4.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.5327, allocations: 1.056 MB / 0.5069 GB, free: 2.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5327, allocations: 0 / 0.5069 GB, free: 2.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001778/0.5345, allocations: 463.9 kB / 0.5074 GB, free: 2.535 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,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.0004295/0.5349, allocations: 193.3 kB / 0.5076 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.5387, allocations: 2.192 MB / 0.5097 GB, free: 84 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.5388, allocations: 4 kB / 0.5097 GB, free: 80 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.5411, allocations: 1.449 MB / 0.5111 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.5434, allocations: 446.4 kB / 0.5115 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/0.5518, allocations: 4.544 MB / 0.516 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.5537, allocations: 1.83 MB / 0.5178 GB, free: 7.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001427/0.5551, allocations: 393.6 kB / 0.5181 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.5555, allocations: 111.4 kB / 0.5182 GB, free: 7.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5555, allocations: 0 / 0.5182 GB, free: 7.18 MB / 430.1 MB Notification: Performance of Templates: time 0.05394/0.6095, allocations: 26.38 MB / 0.544 GB, free: 13.02 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 5.9358339020982385]