Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001249/0.001249, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001344/0.001344, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.403/1.403, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-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.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "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.001925/0.001925, allocations: 67.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2213, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01307/0.2344, allocations: 10.33 MB / 442.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005989/0.2404, allocations: 3.334 MB / 445.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.2415, allocations: 59.75 kB / 445.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.2432, allocations: 0.7415 MB / 446.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.2452, allocations: 0.8699 MB / 447.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.2461, allocations: 447.2 kB / 447.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.2492, allocations: 2.977 MB / 450.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.2511, allocations: 1.376 MB / 452.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.2527, allocations: 1.363 MB / 453.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.2549, allocations: 1.747 MB / 455.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.2554, allocations: 356 kB / 455.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.2562, allocations: 471.7 kB / 456.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.2572, allocations: 1.028 MB / 457.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.2589, allocations: 1.618 MB / 458.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.2637, allocations: 4.718 MB / 463.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2637, allocations: 0 / 463.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2637, allocations: 0 / 463.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.681e-05/0.2638, allocations: 0 / 463.5 MB, free: 7.816 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006461/0.2703, allocations: 3.347 MB / 466.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2703, allocations: 12.03 kB / 466.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.2714, allocations: 374.9 kB / 467.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.2747, allocations: 1.789 MB / 469 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.2749, allocations: 184.8 kB / 469.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.2752, allocations: 236 kB / 469.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005173/0.2804, allocations: 3.133 MB / 472.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-05/0.2805, allocations: 7.891 kB / 472.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.2807, allocations: 100 kB / 472.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.2808, allocations: 104.6 kB / 472.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.2855, allocations: 2.688 MB / 475.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.3008, allocations: 9.657 MB / 485.1 MB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.3038, allocations: 2.08 MB / 487.2 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.3057, allocations: 1.055 MB / 488.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.306, allocations: 203.2 kB / 488.4 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3061, allocations: 51.55 kB / 488.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.407e-06/0.3061, allocations: 0 / 488.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01429/0.3204, allocations: 6.878 MB / 495.3 MB, free: 7.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3204, allocations: 68.72 kB / 495.4 MB, free: 6.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.323, allocations: 1.759 MB / 497.2 MB, free: 5.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/0.3231, allocations: 45.7 kB / 497.2 MB, free: 5.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009929/0.3241, allocations: 1.186 MB / 498.4 MB, free: 3.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.3245, allocations: 476 kB / 498.9 MB, free: 3.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/0.325, allocations: 287.5 kB / 499.1 MB, free: 3.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3251, allocations: 305.1 kB / 499.4 MB, free: 2.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.3265, allocations: 0.7964 MB / 0.4885 GB, free: 2.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.3282, allocations: 1.209 MB / 0.4897 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/0.3314, allocations: 2.086 MB / 0.4917 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3315, allocations: 4 kB / 0.4917 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004707/0.3362, allocations: 2.675 MB / 0.4943 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3362, allocations: 8 kB / 0.4944 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3362, allocations: 15.98 kB / 0.4944 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009968/0.3372, allocations: 419.4 kB / 0.4948 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.3386, allocations: 363.4 kB / 0.4951 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007668/0.3463, allocations: 7.081 MB / 0.502 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.3475, allocations: 107.9 kB / 0.5021 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.3476, allocations: 63.98 kB / 0.5022 GB, free: 3.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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.001281/0.3489, allocations: 0.7978 MB / 0.503 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.3492, allocations: 198.8 kB / 0.5032 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.3534, allocations: 2.364 MB / 0.5055 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.3534, allocations: 11.91 kB / 0.5055 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3534, allocations: 4 kB / 0.5055 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/0.3543, allocations: 439.7 kB / 0.5059 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.3546, allocations: 27.98 kB / 0.5059 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.3555, allocations: 91.89 kB / 0.506 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3557, allocations: 117.1 kB / 0.5061 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005022/0.3607, allocations: 2.374 MB / 0.5085 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004666/0.3654, allocations: 3.043 MB / 0.5114 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0013/0.3667, allocations: 0.8065 MB / 0.5122 GB, free: 8.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001769/0.3685, allocations: 1.207 MB / 0.5134 GB, free: 7.691 MB / 430.1 MB Notification: Performance of Backend: time 1.7e-07/0.3685, allocations: 0 / 0.5134 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.3722, allocations: 1.849 MB / 0.5152 GB, free: 5.777 MB / 430.1 MB Notification: Performance of SimCode: time 0.00816/0.3803, allocations: 5.364 MB / 0.5204 GB, free: 368 kB / 430.1 MB Notification: Performance of Templates: time 0.2181/0.5984, allocations: 31.32 MB / 0.551 GB, free: 97.27 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.148144248872995]