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.001609/0.001609, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007929/0.000793, allocations: 81.23 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2024, allocations: 47.56 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.007709/0.2101, allocations: 8.972 MB / 384.1 MB, free: 38.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005467/0.2157, allocations: 3.088 MB / 387.1 MB, free: 35.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.2171, allocations: 45.12 kB / 387.2 MB, free: 35.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.2187, allocations: 0.5605 MB / 387.8 MB, free: 35.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.221, allocations: 0.7259 MB / 388.5 MB, free: 34.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007995/0.2218, allocations: 266 kB / 388.7 MB, free: 34.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002819/0.2246, allocations: 3.073 MB / 391.8 MB, free: 31.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.2264, allocations: 2.05 MB / 393.9 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.2276, allocations: 0.9999 MB / 394.9 MB, free: 28.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.2289, allocations: 1.389 MB / 396.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.2292, allocations: 152 kB / 396.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005543/0.2298, allocations: 255.8 kB / 396.6 MB, free: 27.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005224/0.2303, allocations: 0.767 MB / 397.4 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009882/0.2313, allocations: 1.308 MB / 398.7 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.2335, allocations: 3.74 MB / 402.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.2335, allocations: 0 / 402.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2335, allocations: 0 / 402.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.631e-05/0.2336, allocations: 0 / 402.5 MB, free: 21.21 MB / 298.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.004201/0.2378, allocations: 2.77 MB / 405.2 MB, free: 18.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2378, allocations: 12.03 kB / 405.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/0.2385, allocations: 333.2 kB / 405.6 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.2406, allocations: 1.632 MB / 407.2 MB, free: 16.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.2407, allocations: 192.9 kB / 407.4 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.241, allocations: 235.8 kB / 407.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/0.245, allocations: 3.137 MB / 410.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.808e-05/0.2451, allocations: 3.938 kB / 410.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.2453, allocations: 92 kB / 410.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.334e-05/0.2453, allocations: 108.6 kB / 411 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.2491, allocations: 2.7 MB / 413.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.2613, allocations: 9.802 MB / 423.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.2639, allocations: 2.181 MB / 425.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.2658, allocations: 1.128 MB / 426.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/0.2661, allocations: 204.1 kB / 427 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2661, allocations: 47.56 kB / 427 MB, free: 11.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.975e-06/0.2661, allocations: 4 kB / 427 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01305/0.2792, allocations: 6.815 MB / 433.8 MB, free: 4.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2792, allocations: 64.72 kB / 433.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.2816, allocations: 1.735 MB / 435.6 MB, free: 3.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/0.2817, allocations: 45.7 kB / 435.7 MB, free: 3.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007262/0.2824, allocations: 1.152 MB / 436.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.2827, allocations: 453.5 kB / 437.3 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/0.2828, allocations: 32 kB / 437.3 MB, free: 1.438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.283, allocations: 369.8 kB / 437.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.2842, allocations: 0.8002 MB / 438.5 MB, free: 276 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.2856, allocations: 1.218 MB / 439.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.2884, allocations: 2.114 MB / 441.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2884, allocations: 4 kB / 441.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004221/0.2926, allocations: 2.671 MB / 444.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.2927, allocations: 20.05 kB / 444.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.2927, allocations: 12 kB / 444.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009303/0.2936, allocations: 419.1 kB / 444.9 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.2949, allocations: 363.4 kB / 445.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.301, allocations: 6.49 MB / 451.8 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.3024, allocations: 111.9 kB / 451.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3025, allocations: 67.98 kB / 451.9 MB, free: 2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001314/0.3038, allocations: 0.7861 MB / 452.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.3041, allocations: 193.7 kB / 452.9 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.308, allocations: 2.391 MB / 455.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.308, allocations: 12 kB / 455.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.308, allocations: 4 kB / 455.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.308, allocations: 7.969 kB / 455.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007874/0.3159, allocations: 5.153 MB / 460.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.3159, allocations: 4.469 kB / 460.5 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009487/0.3169, allocations: 243.6 kB / 460.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.318, allocations: 443 kB / 461.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-05/0.3181, allocations: 35.98 kB / 461.2 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007062/0.3252, allocations: 7.934 MB / 469.1 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.3252, allocations: 11.88 kB / 469.1 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005181/0.3304, allocations: 3.55 MB / 472.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/0.3313, allocations: 442.6 kB / 473.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.3315, allocations: 31.98 kB / 473.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.3324, allocations: 99.84 kB / 473.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.3327, allocations: 124.8 kB / 473.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/0.3328, allocations: 39.98 kB / 473.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001736/0.3345, allocations: 1.183 MB / 474.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3345, allocations: 0 / 474.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001601/0.3361, allocations: 0.5038 MB / 475.1 MB, free: 9.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (115): * Single equations (assignments): 111 * 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%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/0.3365, allocations: 203 kB / 475.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.3403, allocations: 2.461 MB / 477.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3403, allocations: 0 / 477.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.3427, allocations: 1.626 MB / 479.4 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.3455, allocations: 452.8 kB / 479.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008248/0.3537, allocations: 5.987 MB / 485.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.3553, allocations: 1.965 MB / 487.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.3558, allocations: 135.4 kB / 487.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3558, allocations: 0 / 487.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of Templates: time 0.2062/0.562, allocations: 78.8 MB / 0.5534 GB, free: 50.35 MB / 378.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/jenkins/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