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.001053/0.001053, allocations: 95.77 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 205.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.000255, allocations: 4 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.0996, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008879/0.1085, allocations: 8.312 MB / 366.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005955/0.1145, allocations: 3.177 MB / 369.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1158, allocations: 51.75 kB / 369.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.1172, allocations: 0.5713 MB / 370.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.1193, allocations: 0.7204 MB / 370.9 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.12, allocations: 259.7 kB / 371.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1789/0.2989, allocations: 1.908 MB / 373.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.3018, allocations: 1.649 MB / 374.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.3039, allocations: 0.9326 MB / 375.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.3062, allocations: 1.199 MB / 376.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.3066, allocations: 144.3 kB / 377 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008403/0.3074, allocations: 231 kB / 377.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000812/0.3083, allocations: 0.7261 MB / 377.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007555/0.309, allocations: 0.5518 MB / 378.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004121/0.3132, allocations: 3.707 MB / 382.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3132, allocations: 0 / 382.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3132, allocations: 0 / 382.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001437/0.3133, allocations: 5.125 kB / 382.2 MB, free: 9.152 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.006464/0.3198, allocations: 2.801 MB / 385 MB, free: 7.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3199, allocations: 10.12 kB / 385 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3214, allocations: 366.8 kB / 385.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.3247, allocations: 1.663 MB / 387 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.3248, allocations: 182.5 kB / 387.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.3252, allocations: 235.3 kB / 387.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.3307, allocations: 3.109 MB / 390.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.245e-05/0.3308, allocations: 16.78 kB / 390.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.331, allocations: 93.16 kB / 390.7 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.3312, allocations: 107 kB / 390.8 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004723/0.3359, allocations: 2.709 MB / 393.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.3511, allocations: 9.73 MB / 403.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.3537, allocations: 2.193 MB / 405.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.354, allocations: 205.8 kB / 405.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3541, allocations: 43.56 kB / 405.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.935e-06/0.3541, allocations: 0 / 405.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01424/0.3683, allocations: 6.938 MB / 412.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3684, allocations: 64.72 kB / 412.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002734/0.3712, allocations: 1.7 MB / 414.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.3713, allocations: 45.7 kB / 414.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/0.3721, allocations: 1.148 MB / 415.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.3725, allocations: 462.1 kB / 416 MB, free: 492 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.3726, allocations: 32 kB / 416 MB, free: 460 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3728, allocations: 369.9 kB / 416.4 MB, free: 84 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.3742, allocations: 0.8042 MB / 417.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.3757, allocations: 1.207 MB / 418.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.3771, allocations: 0.9823 MB / 419.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.3771, allocations: 4 kB / 419.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004322/0.3814, allocations: 2.662 MB / 422 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3815, allocations: 8.344 kB / 422 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.3815, allocations: 16 kB / 422.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008826/0.3824, allocations: 391.1 kB / 422.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3837, allocations: 377.7 kB / 422.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.3895, allocations: 6.375 MB / 429.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.3914, allocations: 115.8 kB / 429.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.3916, allocations: 60 kB / 429.4 MB, free: 2.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * 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 initialization (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001676/0.3933, allocations: 0.8017 MB / 430.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.3937, allocations: 181.9 kB / 430.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.3976, allocations: 2.395 MB / 432.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3976, allocations: 12 kB / 432.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3976, allocations: 4 kB / 432.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.3977, allocations: 7.969 kB / 432.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.4069, allocations: 5.085 MB / 437.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.4069, allocations: 11.89 kB / 437.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.4079, allocations: 244 kB / 438.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.4091, allocations: 427 kB / 438.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/0.4092, allocations: 35.97 kB / 438.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00731/0.4165, allocations: 7.875 MB / 446.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.4165, allocations: 7.938 kB / 446.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/0.4224, allocations: 3.744 MB / 450.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.4237, allocations: 430.8 kB / 450.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.424, allocations: 35.98 kB / 450.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008932/0.4249, allocations: 91.91 kB / 450.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/0.4252, allocations: 124.7 kB / 450.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.4253, allocations: 39.98 kB / 450.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.4271, allocations: 1.155 MB / 452 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4271, allocations: 0 / 452 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002052/0.4292, allocations: 0.5001 MB / 452.5 MB, free: 10.43 MB / 366.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 (117): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003773/0.4295, allocations: 174.3 kB / 452.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.4336, allocations: 2.469 MB / 455.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4336, allocations: 1.875 kB / 455.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002588/0.4362, allocations: 1.608 MB / 456.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.4386, allocations: 449 kB / 457.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.448, allocations: 5.92 MB / 463.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.4498, allocations: 2.048 MB / 465.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001514/0.4513, allocations: 455.4 kB / 465.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.4517, allocations: 127.4 kB / 465.8 MB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.4517, allocations: 0 / 465.8 MB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.04542/0.4972, allocations: 25.2 MB / 491 MB, free: 4.062 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches