Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.86 kB / 347.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3096, allocations: 49.15 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01221/0.3218, allocations: 10.03 MB / 406.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008623/0.3304, allocations: 3.71 MB / 410.6 MB, free: 156 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.3331, allocations: 67.44 kB / 410.7 MB, free: 128 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.3362, allocations: 0.8106 MB / 411.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.3408, allocations: 0.9887 MB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3424, allocations: 0.5177 MB / 413 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004938/0.3474, allocations: 3.226 MB / 416.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.3497, allocations: 1.384 MB / 417.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.3524, allocations: 1.474 MB / 419.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004441/0.3568, allocations: 1.732 MB / 420.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.3581, allocations: 387.8 kB / 421.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.36, allocations: 0.606 MB / 421.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.3613, allocations: 1.079 MB / 422.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.3635, allocations: 1.401 MB / 424.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.3699, allocations: 5.079 MB / 429.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3699, allocations: 0 / 429.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3699, allocations: 0 / 429.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001066/0.37, allocations: 0 / 429.4 MB, free: 2.57 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.008337/0.3783, allocations: 3.483 MB / 432.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3784, allocations: 11.98 kB / 432.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3797, allocations: 426.7 kB / 433.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.383, allocations: 1.67 MB / 434.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.3832, allocations: 197.1 kB / 435.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.3836, allocations: 252 kB / 435.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005964/0.3896, allocations: 3.369 MB / 438.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.966e-05/0.3896, allocations: 7.938 kB / 438.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.3899, allocations: 104 kB / 438.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.39, allocations: 120.9 kB / 439 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005014/0.395, allocations: 2.693 MB / 441.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.4119, allocations: 8.915 MB / 450.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.4141, allocations: 1.25 MB / 451.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.416, allocations: 0.9718 MB / 452.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.4163, allocations: 56.95 kB / 452.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.4163, allocations: 51.56 kB / 452.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.616e-06/0.4163, allocations: 0 / 452.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01926/0.4356, allocations: 7.037 MB / 459.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4357, allocations: 64.72 kB / 460 MB, free: 3.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.4389, allocations: 1.707 MB / 461.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.439, allocations: 45.7 kB / 461.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.4402, allocations: 1.298 MB / 463.1 MB, free: 252 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/0.4407, allocations: 487.9 kB / 463.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005413/0.4412, allocations: 295.5 kB / 463.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4414, allocations: 309.1 kB / 464.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.4429, allocations: 0.812 MB / 464.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.4449, allocations: 1.313 MB / 466.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/0.4487, allocations: 2.251 MB / 468.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/0.4488, allocations: 4 kB / 468.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005726/0.4545, allocations: 2.705 MB / 471.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.4545, allocations: 15.98 kB / 471.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.4546, allocations: 12 kB / 471.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.4557, allocations: 414.5 kB / 471.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.4573, allocations: 399.3 kB / 472 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.4644, allocations: 5.492 MB / 477.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4662, allocations: 131.9 kB / 477.6 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.4665, allocations: 68 kB / 477.7 MB, free: 0.9023 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001998/0.4685, allocations: 0.7862 MB / 478.5 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006893/0.4692, allocations: 190.9 kB / 478.7 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/0.474, allocations: 2.287 MB / 481 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/0.474, allocations: 16 kB / 481 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.474, allocations: 4 kB / 481 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.474, allocations: 11.97 kB / 481 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.4848, allocations: 4.536 MB / 485.5 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.4848, allocations: 4 kB / 485.5 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.486, allocations: 248.2 kB / 485.8 MB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.4873, allocations: 458.1 kB / 486.2 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.4874, allocations: 43.92 kB / 486.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008765/0.4962, allocations: 6.902 MB / 493.2 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.4962, allocations: 11.88 kB / 493.2 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/0.503, allocations: 3.479 MB / 496.7 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.5043, allocations: 366.7 kB / 497 MB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005562/0.5049, allocations: 39.98 kB / 497.1 MB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.5064, allocations: 99.88 kB / 497.2 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/0.5067, allocations: 120.6 kB / 497.3 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.5068, allocations: 43.98 kB / 497.3 MB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002394/0.5092, allocations: 1.153 MB / 498.5 MB, free: 11.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5092, allocations: 0 / 498.5 MB, free: 11.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002586/0.5118, allocations: 0.539 MB / 499 MB, free: 11.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,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.0005818/0.5123, allocations: 210.8 kB / 499.2 MB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.517, allocations: 2.258 MB / 0.4897 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.517, allocations: 0 / 0.4897 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.5197, allocations: 1.46 MB / 0.4912 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.5222, allocations: 373.8 kB / 0.4915 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.5337, allocations: 5.2 MB / 0.4966 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/0.5366, allocations: 1.446 MB / 0.498 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001712/0.5383, allocations: 414.3 kB / 0.4984 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.5389, allocations: 115.4 kB / 0.4985 GB, free: 15.37 MB / 430.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5389, allocations: 0 / 0.4985 GB, free: 15.37 MB / 430.1 MB Notification: Performance of Templates: time 0.06102/0.5999, allocations: 29.5 MB / 0.5273 GB, free: 1.797 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.127056775614619]