Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 105.8 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 194.5 kB / 23.47 MB, free: 5.293 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 207.6 MB / 234 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 55.91 kB / 345.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3122, allocations: 49.13 MB / 394.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01028/0.3225, allocations: 10.18 MB / 405.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006767/0.3293, allocations: 3.293 MB / 408.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.3315, allocations: 50.66 kB / 408.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.3339, allocations: 0.7414 MB / 409.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.3375, allocations: 0.8763 MB / 410.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.3389, allocations: 418.3 kB / 410.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004825/0.3438, allocations: 2.967 MB / 413.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.3465, allocations: 1.76 MB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.3493, allocations: 1.344 MB / 416.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.3528, allocations: 1.744 MB / 418.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008578/0.3537, allocations: 354.3 kB / 418.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.3552, allocations: 454.3 kB / 419.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.3563, allocations: 1.033 MB / 420.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002673/0.359, allocations: 1.613 MB / 421.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006747/0.3657, allocations: 4.693 MB / 426.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.3657, allocations: 4 kB / 426.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3657, allocations: 0 / 426.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001566/0.3659, allocations: 0 / 426.4 MB, free: 4.289 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.00823/0.3741, allocations: 3.324 MB / 429.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3742, allocations: 12.03 kB / 429.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009061/0.3751, allocations: 346.9 kB / 430.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.3784, allocations: 1.672 MB / 431.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.3785, allocations: 180.8 kB / 432 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003738/0.3789, allocations: 232 kB / 432.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006174/0.3851, allocations: 3.129 MB / 435.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.35e-05/0.3851, allocations: 4 kB / 435.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.3854, allocations: 95.98 kB / 435.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.3855, allocations: 116.5 kB / 435.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00535/0.3909, allocations: 2.696 MB / 438.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/0.4091, allocations: 9.652 MB / 447.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.4122, allocations: 2.084 MB / 450 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.4142, allocations: 1.045 MB / 451 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.4145, allocations: 207.1 kB / 451.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.4145, allocations: 47.56 kB / 451.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 2.765e-06/0.4145, allocations: 0 / 451.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01454/0.4291, allocations: 6.74 MB / 458 MB, free: 3.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.4291, allocations: 64.72 kB / 458.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/0.4321, allocations: 1.747 MB / 459.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.4322, allocations: 45.7 kB / 459.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009907/0.4332, allocations: 1.194 MB / 461.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.4338, allocations: 468 kB / 461.5 MB, free: 312 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/0.4343, allocations: 295.4 kB / 461.8 MB, free: 8 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4344, allocations: 305.1 kB / 462.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.4358, allocations: 0.7925 MB / 462.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.4376, allocations: 1.202 MB / 464.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.4409, allocations: 2.095 MB / 466.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.4409, allocations: 4 kB / 466.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005018/0.4459, allocations: 2.675 MB / 468.9 MB, free: 8.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.4459, allocations: 8 kB / 468.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.446, allocations: 12 kB / 468.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.447, allocations: 419.5 kB / 469.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4484, allocations: 367.4 kB / 469.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007747/0.4562, allocations: 7.077 MB / 476.7 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.4578, allocations: 103.8 kB / 476.8 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.4579, allocations: 64 kB / 476.9 MB, free: 92 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001585/0.4595, allocations: 0.8058 MB / 477.7 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004637/0.46, allocations: 194.8 kB / 477.9 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/0.4644, allocations: 2.363 MB / 480.3 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4644, allocations: 19.94 kB / 480.3 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.4644, allocations: 4 kB / 480.3 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.4644, allocations: 7.969 kB / 480.3 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009794/0.4742, allocations: 5.083 MB / 485.4 MB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.4742, allocations: 4 kB / 485.4 MB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.4753, allocations: 235.7 kB / 485.6 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.4765, allocations: 447 kB / 486 MB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.4766, allocations: 47.91 kB / 486.1 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009362/0.4859, allocations: 8.636 MB / 494.7 MB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.4859, allocations: 7.938 kB / 494.7 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/0.492, allocations: 3.522 MB / 498.2 MB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.4933, allocations: 443.8 kB / 498.7 MB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.4936, allocations: 31.98 kB / 498.7 MB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/0.4946, allocations: 87.73 kB / 498.8 MB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.4949, allocations: 124.7 kB / 498.9 MB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/0.495, allocations: 43.98 kB / 499 MB, free: 9.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002141/0.4971, allocations: 1.194 MB / 0.4884 GB, free: 7.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4971, allocations: 0 / 0.4884 GB, free: 7.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002182/0.4993, allocations: 0.5038 MB / 0.4889 GB, free: 7.441 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0004452/0.4997, allocations: 203 kB / 0.4891 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004309/0.504, allocations: 2.39 MB / 0.4915 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.504, allocations: 0 / 0.4915 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.5068, allocations: 1.564 MB / 0.493 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.5092, allocations: 478.1 kB / 0.4934 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009146/0.5184, allocations: 5.152 MB / 0.4985 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.5204, allocations: 1.965 MB / 0.5004 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/0.521, allocations: 135.4 kB / 0.5005 GB, free: 11.32 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.521, allocations: 0 / 0.5005 GB, free: 11.32 MB / 430.1 MB Notification: Performance of Templates: time 0.3001/0.8211, allocations: 79.62 MB / 0.5783 GB, free: 144.3 MB / 478.1 MB [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches