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.001127/0.001127, allocations: 115.8 kB / 18.4 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 203.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.62 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.0925, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01142/0.1039, allocations: 10.22 MB / 369.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1752/0.2792, allocations: 3.308 MB / 372.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.2808, allocations: 60.19 kB / 372.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.2829, allocations: 0.7019 MB / 373.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.2857, allocations: 0.8396 MB / 374 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2869, allocations: 422.5 kB / 374.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004133/0.291, allocations: 2.984 MB / 377.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.2938, allocations: 2.482 MB / 379.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.2958, allocations: 1.362 MB / 381.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.298, allocations: 1.694 MB / 383 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005312/0.2986, allocations: 352.8 kB / 383.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.2997, allocations: 464.1 kB / 383.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3008, allocations: 1.025 MB / 384.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.3026, allocations: 1.611 MB / 386.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.3069, allocations: 4.689 MB / 391.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3069, allocations: 1.125 kB / 391.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3069, allocations: 0 / 391.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.759e-05/0.307, allocations: 4 kB / 391.1 MB, free: 4.398 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.006369/0.3134, allocations: 3.282 MB / 394.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3134, allocations: 9.625 kB / 394.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.3147, allocations: 364.5 kB / 394.7 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.3178, allocations: 1.767 MB / 396.5 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.3179, allocations: 179.2 kB / 396.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.3182, allocations: 233.3 kB / 396.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/0.3232, allocations: 3.141 MB / 400.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/0.3232, allocations: 7.594 kB / 400.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.3235, allocations: 95.66 kB / 400.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.3236, allocations: 108.7 kB / 400.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/0.3282, allocations: 2.699 MB / 403 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.3432, allocations: 9.615 MB / 412.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.3458, allocations: 2.167 MB / 414.7 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.3477, allocations: 1.115 MB / 415.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.348, allocations: 213.6 kB / 416.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.348, allocations: 43.56 kB / 416.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 4.058e-06/0.348, allocations: 0 / 416.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=131): time 0.01405/0.3621, allocations: 6.841 MB / 422.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3622, allocations: 68.7 kB / 423 MB, free: 7.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/0.3649, allocations: 1.757 MB / 424.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.365, allocations: 53.7 kB / 424.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000815/0.3658, allocations: 1.163 MB / 426 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.3662, allocations: 446.7 kB / 426.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.3666, allocations: 287.3 kB / 426.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.3667, allocations: 305.1 kB / 427 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.368, allocations: 0.8003 MB / 427.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.3694, allocations: 1.202 MB / 429 MB, free: 1.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.3721, allocations: 2.094 MB / 431.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.3722, allocations: 4 kB / 431.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004413/0.3766, allocations: 2.67 MB / 433.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3766, allocations: 8 kB / 433.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3767, allocations: 12 kB / 433.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/0.3776, allocations: 423.6 kB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.3789, allocations: 367.4 kB / 434.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.3853, allocations: 7.063 MB / 441.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.3868, allocations: 111.7 kB / 441.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.387, allocations: 67.98 kB / 441.8 MB, free: 4.008 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.001343/0.3883, allocations: 0.8016 MB / 442.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.3886, allocations: 181.8 kB / 442.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.3924, allocations: 2.385 MB / 445.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3924, allocations: 12 kB / 445.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3924, allocations: 11.88 kB / 445.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.3924, allocations: 7.969 kB / 445.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008766/0.4012, allocations: 5.109 MB / 450.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.4012, allocations: 8 kB / 450.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009911/0.4022, allocations: 235.6 kB / 450.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.4033, allocations: 450.4 kB / 451 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/0.4034, allocations: 35.98 kB / 451 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007468/0.4109, allocations: 8.634 MB / 459.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4109, allocations: 7.938 kB / 459.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/0.416, allocations: 3.521 MB / 463.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.4171, allocations: 426.8 kB / 463.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.4173, allocations: 35.98 kB / 463.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009081/0.4182, allocations: 83.91 kB / 463.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.4185, allocations: 120.7 kB / 463.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/0.4186, allocations: 36 kB / 463.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.4203, allocations: 1.21 MB / 465.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4203, allocations: 0 / 465.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001636/0.4219, allocations: 0.5078 MB / 465.6 MB, free: 11.41 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.000347/0.4223, allocations: 213.6 kB / 465.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.4258, allocations: 2.466 MB / 468.3 MB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.4259, allocations: 4 kB / 468.3 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.4283, allocations: 1.606 MB / 469.9 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.4303, allocations: 488.8 kB / 470.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.4388, allocations: 4.996 MB / 475.3 MB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/0.4406, allocations: 1.997 MB / 477.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001701/0.4423, allocations: 451.4 kB / 477.8 MB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.4428, allocations: 127.4 kB / 477.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.053e-06/0.4428, allocations: 0 / 477.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of Templates: time 0.04879/0.4916, allocations: 27.83 MB / 0.4939 GB, free: 3.316 MB / 414.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 -s cvode -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