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.001093/0.001093, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2132, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01076/0.224, allocations: 10.22 MB / 420.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.2298, allocations: 3.303 MB / 423.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.2312, allocations: 59.69 kB / 423.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.2331, allocations: 0.7453 MB / 424.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.2358, allocations: 0.8777 MB / 425.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.237, allocations: 419.4 kB / 425.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003457/0.2405, allocations: 2.992 MB / 428.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.2437, allocations: 2.473 MB / 431 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.2455, allocations: 1.37 MB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.2479, allocations: 1.697 MB / 434.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007636/0.2487, allocations: 356 kB / 434.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.2501, allocations: 463.7 kB / 434.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.2514, allocations: 1.021 MB / 435.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002311/0.2537, allocations: 1.618 MB / 437.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005386/0.2591, allocations: 4.701 MB / 442.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2591, allocations: 0 / 442.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2591, allocations: 0 / 442.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.2593, allocations: 0 / 442.2 MB, free: 1.133 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.007119/0.2664, allocations: 3.272 MB / 445.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2665, allocations: 8.031 kB / 445.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.2675, allocations: 365.1 kB / 445.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.2705, allocations: 1.776 MB / 447.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.2707, allocations: 180.8 kB / 447.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.271, allocations: 235.9 kB / 448.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/0.2759, allocations: 3.133 MB / 451.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/0.2759, allocations: 7.938 kB / 451.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.2762, allocations: 95.98 kB / 451.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.2763, allocations: 104.6 kB / 451.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004413/0.2807, allocations: 2.7 MB / 454.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.2943, allocations: 9.618 MB / 463.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.297, allocations: 2.166 MB / 465.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.2989, allocations: 1.108 MB / 467 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.2991, allocations: 203.2 kB / 467.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2992, allocations: 47.56 kB / 467.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.296e-06/0.2992, allocations: 4 kB / 467.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01367/0.3129, allocations: 6.849 MB / 474.1 MB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3129, allocations: 64.72 kB / 474.1 MB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.3153, allocations: 1.755 MB / 475.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/0.3154, allocations: 53.7 kB / 476 MB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.3161, allocations: 1.163 MB / 477.1 MB, free: 13.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.3165, allocations: 449.5 kB / 477.6 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/0.3169, allocations: 287.3 kB / 477.8 MB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.317, allocations: 305.1 kB / 478.1 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.3182, allocations: 0.8002 MB / 478.9 MB, free: 11.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.3198, allocations: 1.205 MB / 480.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.3226, allocations: 2.09 MB / 482.2 MB, free: 7.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3226, allocations: 4 kB / 482.2 MB, free: 7.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004282/0.3269, allocations: 2.682 MB / 484.9 MB, free: 5.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3269, allocations: 8 kB / 484.9 MB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.3269, allocations: 15.94 kB / 484.9 MB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009611/0.3279, allocations: 419.5 kB / 485.4 MB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.3293, allocations: 367.4 kB / 485.7 MB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/0.336, allocations: 7.068 MB / 492.8 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3373, allocations: 111.7 kB / 492.9 MB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.3374, allocations: 64 kB / 493 MB, free: 12.65 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.001227/0.3387, allocations: 0.8016 MB / 493.8 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.339, allocations: 185.8 kB / 493.9 MB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.3429, allocations: 2.375 MB / 496.3 MB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.3429, allocations: 7.922 kB / 496.3 MB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3429, allocations: 0 / 496.3 MB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007977/0.3438, allocations: 438.7 kB / 496.7 MB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.344, allocations: 28 kB / 496.8 MB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.3449, allocations: 91.88 kB / 496.9 MB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.3452, allocations: 117.1 kB / 497 MB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004713/0.3499, allocations: 2.366 MB / 499.3 MB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00424/0.3542, allocations: 3.03 MB / 0.4906 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001231/0.3554, allocations: 0.8533 MB / 0.4914 GB, free: 2.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001611/0.357, allocations: 1.21 MB / 0.4926 GB, free: 1.047 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.357, allocations: 0 / 0.4926 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003545/0.3606, allocations: 1.903 MB / 0.4945 GB, free: 15.08 MB / 430.1 MB Notification: Performance of SimCode: time 0.008088/0.3687, allocations: 5.265 MB / 0.4996 GB, free: 9.762 MB / 430.1 MB Notification: Performance of Templates: time 0.04853/0.4172, allocations: 30.32 MB / 0.5292 GB, free: 11.69 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