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.001337/0.001338, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.67 kB / 306.9 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09309, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01146/0.1046, allocations: 10.16 MB / 367.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006128/0.1108, allocations: 3.283 MB / 370.9 MB, free: 1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.1122, allocations: 55.75 kB / 370.9 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.114, allocations: 0.6136 MB / 371.5 MB, free: 336 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1581/0.2721, allocations: 0.7671 MB / 372.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2733, allocations: 371.7 kB / 372.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.2776, allocations: 3.373 MB / 376.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.2803, allocations: 2.1 MB / 378.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.2825, allocations: 1.172 MB / 379.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.2854, allocations: 1.629 MB / 381 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000715/0.2862, allocations: 215.6 kB / 381.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.2875, allocations: 338.1 kB / 381.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.2886, allocations: 0.8792 MB / 382.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002887/0.2915, allocations: 1.459 MB / 383.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004502/0.2961, allocations: 3.856 MB / 387.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2961, allocations: 1.094 kB / 387.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2961, allocations: 4 kB / 387.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001334/0.2962, allocations: 0 / 387.7 MB, free: 6.691 MB / 302.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.008551/0.3048, allocations: 3.277 MB / 391 MB, free: 4.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3049, allocations: 9.375 kB / 391 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.3064, allocations: 369.1 kB / 391.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.3096, allocations: 1.716 MB / 393.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.3098, allocations: 181.5 kB / 393.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/0.3104, allocations: 240 kB / 393.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005222/0.3156, allocations: 3.138 MB / 396.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/0.3157, allocations: 2.781 kB / 396.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.3159, allocations: 92.62 kB / 396.7 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.751e-05/0.316, allocations: 109.4 kB / 396.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004273/0.3203, allocations: 2.695 MB / 399.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.337, allocations: 9.733 MB / 409.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.3399, allocations: 2.173 MB / 411.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.3418, allocations: 1.118 MB / 412.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003599/0.3422, allocations: 207.1 kB / 412.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3422, allocations: 43.56 kB / 412.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.996e-06/0.3422, allocations: 0 / 412.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01593/0.3582, allocations: 6.846 MB / 419.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3583, allocations: 68.72 kB / 419.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.3618, allocations: 1.759 MB / 421.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002687/0.3621, allocations: 45.7 kB / 421.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009584/0.3631, allocations: 1.162 MB / 422.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.3636, allocations: 451.7 kB / 423.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006672/0.3643, allocations: 291.3 kB / 423.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.3644, allocations: 309.1 kB / 423.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3659, allocations: 0.7964 MB / 424.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.3676, allocations: 1.197 MB / 425.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.3708, allocations: 2.089 MB / 427.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.3708, allocations: 4 kB / 427.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005052/0.3759, allocations: 2.674 MB / 430.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.3759, allocations: 11.94 kB / 430.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.376, allocations: 19.94 kB / 430.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.377, allocations: 420.4 kB / 430.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.3786, allocations: 359.4 kB / 431.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006762/0.3854, allocations: 6.483 MB / 437.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.3871, allocations: 111.8 kB / 437.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/0.3874, allocations: 63.98 kB / 437.9 MB, free: 7.832 MB / 350.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.001697/0.3891, allocations: 0.7977 MB / 438.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/0.3896, allocations: 193.6 kB / 438.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.394, allocations: 2.383 MB / 441.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.3941, allocations: 16 kB / 441.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.3941, allocations: 7.938 kB / 441.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.3941, allocations: 7.969 kB / 441.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009824/0.4039, allocations: 5.127 MB / 446.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.404, allocations: 4 kB / 446.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.405, allocations: 235.6 kB / 446.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.4063, allocations: 442.9 kB / 447.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.4064, allocations: 39.98 kB / 447.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007824/0.4143, allocations: 7.934 MB / 455.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4143, allocations: 11.94 kB / 455.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/0.4202, allocations: 3.515 MB / 458.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.4214, allocations: 434.7 kB / 459 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005922/0.422, allocations: 35.98 kB / 459 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.4233, allocations: 83.91 kB / 459.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/0.4237, allocations: 116.7 kB / 459.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.4238, allocations: 39.98 kB / 459.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002219/0.426, allocations: 1.21 MB / 460.5 MB, free: 456 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4261, allocations: 4 kB / 460.5 MB, free: 452 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.002343/0.4284, allocations: 0.5002 MB / 461 MB, free: 15.94 MB / 382.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.0005096/0.4289, allocations: 205.8 kB / 461.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004238/0.4332, allocations: 2.454 MB / 463.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4332, allocations: 3.938 kB / 463.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.4358, allocations: 1.613 MB / 465.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.4388, allocations: 456.4 kB / 465.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.4484, allocations: 6.118 MB / 471.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/0.4505, allocations: 1.965 MB / 473.8 MB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007329/0.4513, allocations: 135.4 kB / 473.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4513, allocations: 0 / 473.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of Templates: time 0.24/0.6913, allocations: 79.56 MB / 0.5405 GB, free: 146.9 MB / 446.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