Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2647, allocations: 50.55 MB / 410 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01225/0.277, allocations: 10.22 MB / 420.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006299/0.2833, allocations: 3.306 MB / 423.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.2847, allocations: 55.75 kB / 423.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.2866, allocations: 0.7025 MB / 424.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.2891, allocations: 0.8347 MB / 425.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009853/0.2901, allocations: 435.3 kB / 425.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.2932, allocations: 2.984 MB / 428.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.2962, allocations: 2.488 MB / 431 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.2978, allocations: 1.355 MB / 432.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.3, allocations: 1.709 MB / 434 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004664/0.3005, allocations: 352 kB / 434.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000792/0.3013, allocations: 463.8 kB / 434.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000902/0.3022, allocations: 1.017 MB / 435.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.3037, allocations: 1.618 MB / 437.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.3076, allocations: 4.698 MB / 442.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3076, allocations: 0 / 442.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3077, allocations: 0 / 442.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.576e-05/0.3077, allocations: 0 / 442.2 MB, free: 1.195 MB / 350.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.005492/0.3132, allocations: 3.272 MB / 445.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3132, allocations: 12.03 kB / 445.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3143, allocations: 361.1 kB / 445.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.3173, allocations: 1.78 MB / 447.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3174, allocations: 180.8 kB / 447.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.3178, allocations: 231.9 kB / 448 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/0.3225, allocations: 3.133 MB / 451.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-05/0.3225, allocations: 4 kB / 451.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.3228, allocations: 96 kB / 451.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.3229, allocations: 112.5 kB / 451.3 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004313/0.3272, allocations: 2.696 MB / 454 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.3405, allocations: 9.618 MB / 463.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.3432, allocations: 2.166 MB / 465.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.345, allocations: 1.104 MB / 466.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.3453, allocations: 216.1 kB / 467.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3453, allocations: 43.56 kB / 467.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.729e-06/0.3453, allocations: 3.984 kB / 467.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01343/0.3588, allocations: 6.849 MB / 474 MB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.3588, allocations: 68.66 kB / 474.1 MB, free: 368 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.3611, allocations: 1.759 MB / 475.8 MB, free: 14.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/0.3612, allocations: 49.7 kB / 475.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007783/0.362, allocations: 1.159 MB / 477 MB, free: 13.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.3624, allocations: 449.5 kB / 477.5 MB, free: 12.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004498/0.3628, allocations: 291.3 kB / 477.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.3629, allocations: 313 kB / 478.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3642, allocations: 0.7925 MB / 478.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.3657, allocations: 1.205 MB / 480.1 MB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.3686, allocations: 2.094 MB / 482.2 MB, free: 7.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.3686, allocations: 4 kB / 482.2 MB, free: 7.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004233/0.3728, allocations: 2.674 MB / 484.8 MB, free: 5.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3729, allocations: 12 kB / 484.9 MB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.3729, allocations: 12 kB / 484.9 MB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/0.3739, allocations: 411.5 kB / 485.3 MB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.3753, allocations: 367.4 kB / 485.6 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/0.3818, allocations: 7.076 MB / 492.7 MB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.3833, allocations: 107.8 kB / 492.8 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.3834, allocations: 63.98 kB / 492.9 MB, free: 12.71 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.001245/0.3846, allocations: 0.8017 MB / 493.7 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.3849, allocations: 189.7 kB / 493.9 MB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.3889, allocations: 2.372 MB / 496.2 MB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.389, allocations: 11.91 kB / 496.2 MB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.389, allocations: 0 / 496.2 MB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/0.3899, allocations: 438.7 kB / 496.7 MB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.3901, allocations: 24 kB / 496.7 MB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/0.391, allocations: 99.88 kB / 496.8 MB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.3913, allocations: 113.1 kB / 496.9 MB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004645/0.3959, allocations: 2.366 MB / 499.3 MB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004251/0.4002, allocations: 3.03 MB / 0.4905 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001214/0.4014, allocations: 0.8534 MB / 0.4914 GB, free: 2.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001654/0.4031, allocations: 1.21 MB / 0.4925 GB, free: 1.105 MB / 414.1 MB Notification: Performance of Backend: time 3.9e-07/0.4031, allocations: 0 / 0.4925 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003576/0.4067, allocations: 1.915 MB / 0.4944 GB, free: 15.13 MB / 430.1 MB Notification: Performance of SimCode: time 0.007428/0.4141, allocations: 5.254 MB / 0.4995 GB, free: 9.82 MB / 430.1 MB Notification: Performance of Templates: time 0.04881/0.4629, allocations: 30.31 MB / 0.5291 GB, free: 11.75 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches