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.001338/0.001338, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001662/0.001662, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.509/1.509, allocations: 230.3 MB / 258 MB, free: 8.234 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.001858/0.001858, allocations: 59.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2671, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0144/0.2815, allocations: 9.522 MB / 441.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009024/0.2906, allocations: 3.065 MB / 444.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.2924, allocations: 59.62 kB / 444.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.2948, allocations: 0.6791 MB / 445.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.2982, allocations: 0.8157 MB / 446.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.2997, allocations: 375.4 kB / 446.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00455/0.3043, allocations: 2.689 MB / 449.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.3067, allocations: 1.16 MB / 450.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.3091, allocations: 1.227 MB / 451.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.312, allocations: 1.549 MB / 453.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.3131, allocations: 304 kB / 453.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.3147, allocations: 415.8 kB / 454 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.3163, allocations: 0.8998 MB / 454.9 MB, free: 212 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002605/0.3189, allocations: 1.408 MB / 456.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005889/0.3248, allocations: 4.118 MB / 460.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.3248, allocations: 4 kB / 460.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3248, allocations: 0 / 460.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001359/0.3249, allocations: 0 / 460.4 MB, free: 10.65 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.008275/0.3332, allocations: 2.857 MB / 463.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3332, allocations: 8.031 kB / 463.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.3345, allocations: 339.1 kB / 463.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.3377, allocations: 1.492 MB / 465.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.3379, allocations: 148.4 kB / 465.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.3382, allocations: 211.9 kB / 465.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00509/0.3433, allocations: 2.732 MB / 468.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/0.3434, allocations: 11.89 kB / 468.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.3436, allocations: 80 kB / 468.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.3437, allocations: 95.92 kB / 468.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/0.3483, allocations: 2.326 MB / 470.7 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.3634, allocations: 8.189 MB / 478.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.3656, allocations: 1.25 MB / 480.1 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.3677, allocations: 1.018 MB / 481.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.3679, allocations: 44.97 kB / 481.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.3679, allocations: 43.5 kB / 481.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.086e-06/0.3679, allocations: 0 / 481.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01422/0.3821, allocations: 5.942 MB / 487.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3822, allocations: 68.39 kB / 487.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.3847, allocations: 1.529 MB / 488.8 MB, free: 13.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.3848, allocations: 45.7 kB / 488.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/0.3857, allocations: 1.013 MB / 489.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/0.3861, allocations: 436.3 kB / 490.2 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.3866, allocations: 255.5 kB / 490.5 MB, free: 12.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.3868, allocations: 361.9 kB / 490.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3882, allocations: 0.73 MB / 491.6 MB, free: 10.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.3898, allocations: 1.055 MB / 492.6 MB, free: 9.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.3927, allocations: 1.883 MB / 494.5 MB, free: 7.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.3927, allocations: 4 kB / 494.5 MB, free: 7.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004424/0.3971, allocations: 2.35 MB / 496.9 MB, free: 5.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.3972, allocations: 8 kB / 496.9 MB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.3972, allocations: 12.34 kB / 496.9 MB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3983, allocations: 410.8 kB / 497.3 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.3996, allocations: 339.4 kB / 497.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/0.4057, allocations: 4.857 MB / 0.4907 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4071, allocations: 99.8 kB / 0.4908 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.4073, allocations: 52 kB / 0.4908 GB, free: 15.36 MB / 414.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.001372/0.4086, allocations: 0.7081 MB / 0.4915 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.409, allocations: 170.9 kB / 0.4917 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.4132, allocations: 2.133 MB / 0.4938 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.4132, allocations: 15.98 kB / 0.4938 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.4132, allocations: 4 kB / 0.4938 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4132, allocations: 3.984 kB / 0.4938 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008685/0.4219, allocations: 4.522 MB / 0.4982 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4219, allocations: 4 kB / 0.4982 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.4229, allocations: 223.9 kB / 0.4984 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.4244, allocations: 486.4 kB / 0.4989 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.4245, allocations: 31.98 kB / 0.4989 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007752/0.4322, allocations: 6.375 MB / 0.5052 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4322, allocations: 3.938 kB / 0.5052 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/0.4385, allocations: 3.189 MB / 0.5083 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.4398, allocations: 334.8 kB / 0.5086 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.44, allocations: 28 kB / 0.5086 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009147/0.4409, allocations: 79.84 kB / 0.5087 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.4413, allocations: 112.7 kB / 0.5088 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-05/0.4413, allocations: 39.92 kB / 0.5088 GB, free: 12.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.4432, allocations: 1.052 MB / 0.5099 GB, free: 11.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4432, allocations: 0 / 0.5099 GB, free: 11.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001547/0.4448, allocations: 460 kB / 0.5103 GB, free: 10.89 MB / 430.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.0004078/0.4452, allocations: 200.7 kB / 0.5105 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.4491, allocations: 2.045 MB / 0.5125 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4491, allocations: 0 / 0.5125 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.4516, allocations: 1.362 MB / 0.5138 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.4537, allocations: 443.1 kB / 0.5142 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/0.4618, allocations: 4.574 MB / 0.5187 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.4638, allocations: 1.83 MB / 0.5205 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001283/0.4651, allocations: 401.6 kB / 0.5209 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.4655, allocations: 111.4 kB / 0.521 GB, free: 15.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4655, allocations: 0 / 0.521 GB, free: 15.77 MB / 446.1 MB Notification: Performance of Templates: time 0.2546/0.72, allocations: 27.2 MB / 0.5476 GB, free: 96.48 MB / 446.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: 6.040177932009101]