Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001229, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09643, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01231/0.1088, allocations: 10.14 MB / 338.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.1153, allocations: 3.276 MB / 342.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.1171, allocations: 51.75 kB / 342.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.1189, allocations: 0.6986 MB / 342.9 MB, free: 5.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.1217, allocations: 0.8309 MB / 343.7 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.1227, allocations: 411.4 kB / 344.1 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.1263, allocations: 2.977 MB / 347.1 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.1291, allocations: 2.445 MB / 349.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.1311, allocations: 1.347 MB / 350.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.1338, allocations: 1.689 MB / 352.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005564/0.1344, allocations: 356 kB / 352.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1355, allocations: 455.8 kB / 353.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.1366, allocations: 1.017 MB / 354.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.1389, allocations: 1.598 MB / 356 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005335/0.1442, allocations: 4.681 MB / 360.7 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1443, allocations: 0 / 360.7 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1443, allocations: 4 kB / 360.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.1444, allocations: 0 / 360.7 MB, free: 3.617 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.008132/0.1525, allocations: 3.264 MB / 363.9 MB, free: 292 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.1526, allocations: 8.031 kB / 363.9 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009791/0.1536, allocations: 337.1 kB / 364.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.1571, allocations: 1.647 MB / 365.9 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.1573, allocations: 177 kB / 366.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.1577, allocations: 239.8 kB / 366.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006125/0.1638, allocations: 3.133 MB / 369.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-05/0.1639, allocations: 11.98 kB / 369.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.1641, allocations: 92 kB / 369.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.1643, allocations: 104.6 kB / 369.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004799/0.1691, allocations: 2.696 MB / 372.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1937/0.3628, allocations: 9.623 MB / 382 MB, free: 47.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.3657, allocations: 2.167 MB / 384.1 MB, free: 47.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.3676, allocations: 1.116 MB / 385.3 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.3679, allocations: 210.1 kB / 385.5 MB, free: 46.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.368, allocations: 44.03 kB / 385.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.256e-06/0.368, allocations: 0 / 385.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01407/0.3821, allocations: 6.702 MB / 392.2 MB, free: 44.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3821, allocations: 71.5 kB / 392.3 MB, free: 44.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.3848, allocations: 1.742 MB / 394 MB, free: 43.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.385, allocations: 45.83 kB / 394.1 MB, free: 43.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008339/0.3858, allocations: 1.156 MB / 395.2 MB, free: 42.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.3861, allocations: 452.7 kB / 395.7 MB, free: 42.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.3866, allocations: 287.4 kB / 395.9 MB, free: 42.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.3866, allocations: 305.1 kB / 396.2 MB, free: 41.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.388, allocations: 0.7879 MB / 397 MB, free: 41.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.3893, allocations: 1.211 MB / 398.2 MB, free: 40.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.3916, allocations: 2.092 MB / 400.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.3917, allocations: 3.906 kB / 400.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004295/0.396, allocations: 2.673 MB / 403 MB, free: 38.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.396, allocations: 11.16 kB / 403 MB, free: 38.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.396, allocations: 15.62 kB / 403 MB, free: 38.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008494/0.3969, allocations: 414.4 kB / 403.4 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3981, allocations: 363.4 kB / 403.8 MB, free: 37.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.4035, allocations: 7.062 MB / 410.9 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.4054, allocations: 107.8 kB / 411 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.4056, allocations: 70.55 kB / 411 MB, free: 30.86 MB / 318.1 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[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.001493/0.4071, allocations: 0.7949 MB / 411.8 MB, free: 30.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/0.4075, allocations: 181.8 kB / 412 MB, free: 29.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.4109, allocations: 2.379 MB / 414.4 MB, free: 27.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4109, allocations: 12 kB / 414.4 MB, free: 27.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4109, allocations: 4 kB / 414.4 MB, free: 27.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.411, allocations: 3.984 kB / 414.4 MB, free: 27.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007704/0.4187, allocations: 5.096 MB / 419.5 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4187, allocations: 4 kB / 419.5 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009138/0.4196, allocations: 239.6 kB / 419.7 MB, free: 22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.4206, allocations: 454.6 kB / 420.2 MB, free: 21.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.4208, allocations: 39.98 kB / 420.2 MB, free: 21.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005894/0.4267, allocations: 8.625 MB / 428.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4267, allocations: 4 kB / 428.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004588/0.4313, allocations: 3.538 MB / 432.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.4324, allocations: 430.7 kB / 432.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.4327, allocations: 36 kB / 432.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/0.4336, allocations: 83.89 kB / 432.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.4339, allocations: 120.7 kB / 433 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.434, allocations: 43.98 kB / 433.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.4355, allocations: 1.202 MB / 434.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4355, allocations: 0 / 434.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00169/0.4372, allocations: 0.5025 MB / 434.8 MB, free: 6.312 MB / 318.1 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 (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.0003454/0.4375, allocations: 193.5 kB / 435 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.4407, allocations: 2.463 MB / 437.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.4408, allocations: 4 kB / 437.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.4429, allocations: 1.62 MB / 439.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.445, allocations: 475 kB / 439.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.4528, allocations: 5.014 MB / 444.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/0.4548, allocations: 1.997 MB / 446.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.4563, allocations: 443.5 kB / 447 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.4566, allocations: 123.4 kB / 447.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4567, allocations: 0 / 447.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Templates: time 0.05839/0.5151, allocations: 27.76 MB / 474.9 MB, free: 14.03 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches