Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 47.92 kB / 371.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2603, allocations: 52.19 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01376/0.2741, allocations: 10.29 MB / 434.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006647/0.2807, allocations: 3.236 MB / 437.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.2823, allocations: 71.5 kB / 437.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.2846, allocations: 0.7376 MB / 438.2 MB, free: 272 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.2876, allocations: 0.8972 MB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.2889, allocations: 411.3 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.2931, allocations: 2.969 MB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.2954, allocations: 1.376 MB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.2974, allocations: 1.386 MB / 445.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.3003, allocations: 1.736 MB / 447 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006989/0.301, allocations: 356 kB / 447.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3021, allocations: 459.8 kB / 447.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.3033, allocations: 1.028 MB / 448.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.3056, allocations: 1.614 MB / 450.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005802/0.3114, allocations: 4.692 MB / 455.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3114, allocations: 3.938 kB / 455.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3114, allocations: 0 / 455.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001272/0.3115, allocations: 0 / 455.1 MB, free: 15.25 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.007401/0.3189, allocations: 3.256 MB / 458.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.319, allocations: 12.03 kB / 458.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/0.3198, allocations: 342.9 kB / 458.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.3234, allocations: 1.697 MB / 460.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.3236, allocations: 180.8 kB / 460.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.3239, allocations: 228 kB / 460.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005523/0.3295, allocations: 3.133 MB / 464 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.727e-05/0.3295, allocations: 3.953 kB / 464 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.3298, allocations: 99.98 kB / 464.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.3299, allocations: 108.6 kB / 464.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/0.3348, allocations: 2.696 MB / 466.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.3511, allocations: 9.486 MB / 476.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.3537, allocations: 1.425 MB / 477.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.3557, allocations: 1.039 MB / 478.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.356, allocations: 56.89 kB / 478.9 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.356, allocations: 43.56 kB / 478.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.985e-06/0.356, allocations: 0 / 478.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.0145/0.3705, allocations: 6.34 MB / 485.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.3706, allocations: 68.7 kB / 485.3 MB, free: 0.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.3733, allocations: 1.743 MB / 487.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.3734, allocations: 49.7 kB / 487.1 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.3744, allocations: 1.186 MB / 488.3 MB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.3749, allocations: 476 kB / 488.8 MB, free: 13.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.3754, allocations: 287.5 kB / 489.1 MB, free: 12.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3755, allocations: 317 kB / 489.4 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.3769, allocations: 0.7886 MB / 490.1 MB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.3786, allocations: 1.205 MB / 491.4 MB, free: 10.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/0.3819, allocations: 2.094 MB / 493.4 MB, free: 8.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.3819, allocations: 4 kB / 493.5 MB, free: 8 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004882/0.3868, allocations: 2.596 MB / 496 MB, free: 5.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3868, allocations: 8 kB / 496.1 MB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.3869, allocations: 12 kB / 496.1 MB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3879, allocations: 426.2 kB / 496.5 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.3893, allocations: 367.4 kB / 496.8 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007816/0.3972, allocations: 6.759 MB / 0.4918 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.3986, allocations: 107.9 kB / 0.4919 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.3987, allocations: 63.98 kB / 0.492 GB, free: 13.31 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.001404/0.4001, allocations: 0.7901 MB / 0.4927 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.4005, allocations: 198.8 kB / 0.4929 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.4048, allocations: 2.292 MB / 0.4952 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.4048, allocations: 19.94 kB / 0.4952 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4048, allocations: 4 kB / 0.4952 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.4048, allocations: 7.984 kB / 0.4952 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009261/0.4141, allocations: 4.989 MB / 0.5001 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4141, allocations: 4 kB / 0.5001 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.4152, allocations: 235.6 kB / 0.5003 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.4164, allocations: 458.9 kB / 0.5007 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.4165, allocations: 39.98 kB / 0.5008 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009213/0.4257, allocations: 8.241 MB / 0.5088 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.4257, allocations: 4 kB / 0.5088 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005999/0.4317, allocations: 3.439 MB / 0.5122 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.4328, allocations: 370.6 kB / 0.5125 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.433, allocations: 31.98 kB / 0.5126 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.434, allocations: 87.91 kB / 0.5126 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.4343, allocations: 120.7 kB / 0.5128 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.4344, allocations: 39.98 kB / 0.5128 GB, free: 7.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.4362, allocations: 1.202 MB / 0.514 GB, free: 6.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4362, allocations: 0 / 0.514 GB, free: 6.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001726/0.438, allocations: 0.5038 MB / 0.5145 GB, free: 5.586 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (114): * Single equations (assignments): 110 * 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.0003916/0.4383, allocations: 206.8 kB / 0.5147 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004179/0.4425, allocations: 2.319 MB / 0.5169 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4425, allocations: 0 / 0.5169 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002784/0.4453, allocations: 1.551 MB / 0.5184 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.4477, allocations: 481.2 kB / 0.5189 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.458, allocations: 5.136 MB / 0.5239 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.4603, allocations: 1.957 MB / 0.5258 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/0.4611, allocations: 143.4 kB / 0.526 GB, free: 9.598 MB / 446.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4611, allocations: 0 / 0.526 GB, free: 9.598 MB / 446.1 MB Notification: Performance of Templates: time 0.2476/0.7087, allocations: 79.63 MB / 0.6037 GB, free: 44.51 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.333475162973627]