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.001374/0.001374, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001744/0.001744, allocations: 184.1 kB / 18.66 MB, free: 4.422 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.945/1.945, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001423/0.001423, allocations: 55.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.2809/0.3873, allocations: 10.15 MB / 385.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009379/0.3968, allocations: 3.277 MB / 388.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.3999, allocations: 55.25 kB / 388.6 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.4028, allocations: 0.7373 MB / 389.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004652/0.4075, allocations: 0.868 MB / 390.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.4091, allocations: 413.2 kB / 390.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005285/0.4144, allocations: 2.973 MB / 393.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.418, allocations: 2.438 MB / 396 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.4215, allocations: 1.347 MB / 397.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004251/0.4257, allocations: 1.699 MB / 399.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.4275, allocations: 353.8 kB / 399.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.4301, allocations: 453.1 kB / 399.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.4319, allocations: 1.02 MB / 400.9 MB, free: 400 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004648/0.4366, allocations: 1.607 MB / 402.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007653/0.4442, allocations: 4.673 MB / 407.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4443, allocations: 5.625 kB / 407.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4443, allocations: 0 / 407.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001884/0.4445, allocations: 1.5 kB / 407.2 MB, free: 12.46 MB / 334.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.01118/0.4557, allocations: 3.256 MB / 410.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.4558, allocations: 10.19 kB / 410.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.4573, allocations: 327.9 kB / 410.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.4618, allocations: 1.656 MB / 412.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.4621, allocations: 179 kB / 412.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000594/0.4627, allocations: 236.5 kB / 412.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009988/0.4727, allocations: 3.136 MB / 416 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-05/0.4728, allocations: 11.89 kB / 416 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.4731, allocations: 92 kB / 416.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.4732, allocations: 104.6 kB / 416.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006186/0.4794, allocations: 2.692 MB / 418.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/0.4994, allocations: 9.614 MB / 428.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.5027, allocations: 2.182 MB / 430.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.5047, allocations: 1.116 MB / 431.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.5051, allocations: 207.1 kB / 432 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.5052, allocations: 47.55 kB / 432 MB, free: 6.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 4.378e-06/0.5052, allocations: 0 / 432 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01604/0.5212, allocations: 6.698 MB / 438.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.5214, allocations: 64.72 kB / 438.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.5245, allocations: 1.739 MB / 440.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.5248, allocations: 53.7 kB / 440.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.5258, allocations: 1.155 MB / 441.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/0.5264, allocations: 461.5 kB / 442.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.527, allocations: 283.3 kB / 442.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5272, allocations: 309.1 kB / 442.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.5287, allocations: 0.8002 MB / 443.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.5305, allocations: 1.202 MB / 444.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.5337, allocations: 2.095 MB / 446.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.5337, allocations: 4 kB / 446.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005595/0.5393, allocations: 2.663 MB / 449.5 MB, free: 4.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.5394, allocations: 12 kB / 449.5 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.747e-05/0.5395, allocations: 12 kB / 449.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.5409, allocations: 428.2 kB / 450 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.5426, allocations: 359.4 kB / 450.3 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009168/0.5518, allocations: 7.072 MB / 457.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.5543, allocations: 103.9 kB / 457.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.5546, allocations: 64 kB / 457.6 MB, free: 11.6 MB / 382.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.002271/0.5568, allocations: 0.7978 MB / 458.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.5576, allocations: 181.8 kB / 458.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.5622, allocations: 2.364 MB / 460.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.5623, allocations: 19.94 kB / 460.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5623, allocations: 7.938 kB / 460.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.5623, allocations: 7.969 kB / 460.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.573, allocations: 5.102 MB / 466 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.5731, allocations: 4 kB / 466 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.5742, allocations: 231.7 kB / 466.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/0.5754, allocations: 463.2 kB / 466.7 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.5756, allocations: 35.98 kB / 466.8 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008889/0.5845, allocations: 8.626 MB / 475.4 MB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5845, allocations: 8 kB / 475.4 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006209/0.5907, allocations: 3.525 MB / 478.9 MB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.5921, allocations: 438.7 kB / 479.3 MB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.5924, allocations: 28 kB / 479.4 MB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.5935, allocations: 87.89 kB / 479.5 MB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.5939, allocations: 120.7 kB / 479.6 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.594, allocations: 39.98 kB / 479.6 MB, free: 4.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002045/0.596, allocations: 1.198 MB / 480.8 MB, free: 3.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.596, allocations: 0 / 480.8 MB, free: 3.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002234/0.5983, allocations: 0.5039 MB / 481.3 MB, free: 2.973 MB / 398.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.0004524/0.5987, allocations: 207.8 kB / 481.5 MB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00459/0.6033, allocations: 2.472 MB / 484 MB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.994e-06/0.6034, allocations: 0 / 484 MB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003144/0.6065, allocations: 1.619 MB / 485.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.6099, allocations: 488.3 kB / 486.1 MB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.6232, allocations: 4.995 MB / 491.1 MB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.6254, allocations: 2.005 MB / 493.1 MB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002266/0.6277, allocations: 443.5 kB / 493.5 MB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.6282, allocations: 127.4 kB / 493.6 MB, free: 6.406 MB / 414.1 MB Notification: Performance of SimCode: time 1.914e-06/0.6282, allocations: 4 kB / 493.6 MB, free: 6.402 MB / 414.1 MB Notification: Performance of Templates: time 0.06113/0.6894, allocations: 28.23 MB / 0.5096 GB, free: 10.12 MB / 446.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 -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/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","/var/lib/jenkins/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