Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002662/0.002669, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.891/3.891, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001808/0.001808, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006322/0.0006326, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.189, allocations: 47.59 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.02596/0.215, allocations: 8.225 MB / 382.8 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.2296, allocations: 3.182 MB / 386 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.2325, allocations: 43.75 kB / 386 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.237, allocations: 0.5752 MB / 386.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0063/0.2434, allocations: 0.7088 MB / 387.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.2461, allocations: 263.6 kB / 387.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008752/0.2549, allocations: 1.915 MB / 389.5 MB, free: 480 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.415/0.67, allocations: 1.609 MB / 391.1 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.6742, allocations: 0.9261 MB / 392 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00548/0.6798, allocations: 1.21 MB / 393.2 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.6816, allocations: 147.1 kB / 393.3 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.6848, allocations: 219 kB / 393.6 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003247/0.6882, allocations: 0.7275 MB / 394.3 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003002/0.6913, allocations: 0.5498 MB / 394.8 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.7029, allocations: 3.696 MB / 398.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.703, allocations: 1.156 kB / 398.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.967e-06/0.703, allocations: 0 / 398.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002339/0.7033, allocations: 0 / 398.5 MB, free: 9.316 MB / 282.7 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.01735/0.7206, allocations: 2.788 MB / 401.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.7208, allocations: 9.375 kB / 401.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.7243, allocations: 330.7 kB / 401.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00956/0.7339, allocations: 1.589 MB / 403.2 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006149/0.7346, allocations: 189.4 kB / 403.4 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/0.7366, allocations: 234.7 kB / 403.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/0.7572, allocations: 3.105 MB / 406.8 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002459/0.7575, allocations: 8.797 kB / 406.8 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/0.759, allocations: 94.34 kB / 406.9 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003585/0.7594, allocations: 103 kB / 407 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.7755, allocations: 2.71 MB / 409.7 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/0.8244, allocations: 9.742 MB / 419.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/0.8338, allocations: 2.179 MB / 421.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008543/0.8347, allocations: 205.7 kB / 421.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.299e-05/0.8349, allocations: 55.52 kB / 421.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 7.384e-06/0.8349, allocations: 4 kB / 421.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=131): time 0.04778/0.8827, allocations: 6.929 MB / 428.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.8829, allocations: 64.72 kB / 428.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009178/0.8921, allocations: 1.688 MB / 430.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006285/0.8928, allocations: 49.64 kB / 430.6 MB, free: 2.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002256/0.8951, allocations: 1.095 MB / 431.7 MB, free: 1.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.8966, allocations: 447.7 kB / 432.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.897, allocations: 32 kB / 432.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003964/0.8974, allocations: 374.8 kB / 432.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/0.9021, allocations: 0.8081 MB / 433.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005439/0.9076, allocations: 1.204 MB / 434.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005477/0.9132, allocations: 0.9823 MB / 435.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/0.9133, allocations: 4 kB / 435.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01551/0.9288, allocations: 2.55 MB / 438.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.929, allocations: 11.98 kB / 438.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-05/0.9291, allocations: 12 kB / 438.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/0.932, allocations: 395.4 kB / 438.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00511/0.9372, allocations: 379.4 kB / 438.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/0.9607, allocations: 6.373 MB / 445.2 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/0.965, allocations: 107.9 kB / 445.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000744/0.9659, allocations: 63.98 kB / 445.4 MB, free: 3.137 MB / 314.7 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.0049/0.9708, allocations: 0.7906 MB / 446.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/0.972, allocations: 185.7 kB / 446.3 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.9861, allocations: 2.387 MB / 448.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/0.9862, allocations: 12 kB / 448.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-05/0.9863, allocations: 4 kB / 448.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-05/0.9864, allocations: 11.97 kB / 448.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02762/1.014, allocations: 5.08 MB / 453.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/1.014, allocations: 4 kB / 453.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/1.018, allocations: 248 kB / 454.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003691/1.022, allocations: 430.9 kB / 454.5 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005604/1.022, allocations: 35.98 kB / 454.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/1.044, allocations: 7.874 MB / 462.4 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-05/1.044, allocations: 11.97 kB / 462.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/1.063, allocations: 3.744 MB / 466.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003111/1.066, allocations: 442.5 kB / 466.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/1.067, allocations: 33.95 kB / 466.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003833/1.071, allocations: 95.91 kB / 466.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/1.072, allocations: 116.8 kB / 466.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003754/1.073, allocations: 39.94 kB / 466.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005908/1.079, allocations: 1.159 MB / 468 MB, free: 11.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.904e-06/1.079, allocations: 0 / 468 MB, free: 11.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006135/1.085, allocations: 0.5 MB / 468.5 MB, free: 11.09 MB / 346.7 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.001168/1.086, allocations: 165.2 kB / 468.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0125/1.099, allocations: 2.463 MB / 471.2 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/1.099, allocations: 4 kB / 471.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008191/1.107, allocations: 1.61 MB / 472.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/1.114, allocations: 433 kB / 473.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02683/1.141, allocations: 5.975 MB / 479.2 MB, free: 272 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00646/1.147, allocations: 2.004 MB / 481.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.149, allocations: 135.4 kB / 481.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.485e-06/1.149, allocations: 4 kB / 481.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Templates: time 0.7797/1.929, allocations: 74.86 MB / 0.5431 GB, free: 130.9 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches