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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 192.5 kB / 22.93 MB, free: 5.484 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.745/1.745, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.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.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.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.001826/0.001826, allocations: 52.2 kB / 345.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.365, allocations: 49.12 MB / 394.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01315/0.3781, allocations: 11.52 MB / 406.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.3889, allocations: 3.945 MB / 410 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.3928, allocations: 51.69 kB / 410 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00377/0.3965, allocations: 0.8633 MB / 410.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.4034, allocations: 0.9801 MB / 411.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.4058, allocations: 0.5232 MB / 412.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007642/0.4135, allocations: 3.228 MB / 415.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.4163, allocations: 1.443 MB / 417.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.4198, allocations: 1.439 MB / 418.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.4242, allocations: 1.848 MB / 420.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008883/0.4251, allocations: 387.5 kB / 420.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.4272, allocations: 0.6477 MB / 421.4 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.4285, allocations: 1.09 MB / 422.5 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00316/0.4317, allocations: 1.717 MB / 424.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008026/0.4397, allocations: 5.068 MB / 429.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4397, allocations: 0 / 429.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4397, allocations: 0 / 429.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.4399, allocations: 3.938 kB / 429.3 MB, free: 0.9609 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.009065/0.449, allocations: 3.55 MB / 432.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.449, allocations: 12.03 kB / 432.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.4505, allocations: 426.7 kB / 433.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/0.4537, allocations: 1.746 MB / 435 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.4538, allocations: 190.3 kB / 435.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003929/0.4542, allocations: 259.9 kB / 435.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006086/0.4603, allocations: 3.243 MB / 438.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/0.4604, allocations: 15.88 kB / 438.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.4606, allocations: 100 kB / 438.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.4608, allocations: 112.9 kB / 438.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005492/0.4663, allocations: 2.701 MB / 441.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/0.4883, allocations: 10.28 MB / 451.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.4913, allocations: 1.692 MB / 453.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.4934, allocations: 0.9867 MB / 454.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.4938, allocations: 207.2 kB / 454.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.4938, allocations: 43.56 kB / 454.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 4.378e-06/0.4938, allocations: 0 / 454.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01932/0.5131, allocations: 7.444 MB / 462.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.5132, allocations: 72.66 kB / 462.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/0.5167, allocations: 1.873 MB / 464.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.5169, allocations: 45.7 kB / 464.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.5181, allocations: 1.275 MB / 465.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005452/0.5186, allocations: 495.8 kB / 466 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/0.5192, allocations: 303.4 kB / 466.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5193, allocations: 305.1 kB / 466.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.5211, allocations: 0.8042 MB / 467.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.5234, allocations: 1.317 MB / 468.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/0.5273, allocations: 2.247 MB / 471 MB, free: 5.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.5273, allocations: 4 kB / 471 MB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00574/0.533, allocations: 2.799 MB / 473.8 MB, free: 3.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.533, allocations: 12 kB / 473.8 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/0.5331, allocations: 16 kB / 473.8 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.5342, allocations: 418.5 kB / 474.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.5357, allocations: 395.4 kB / 474.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/0.543, allocations: 5.807 MB / 480.4 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.5453, allocations: 127.8 kB / 480.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.5455, allocations: 71.98 kB / 480.6 MB, free: 12 MB / 398.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.001732/0.5472, allocations: 0.7977 MB / 481.4 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005564/0.5478, allocations: 210.7 kB / 481.6 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.5523, allocations: 2.371 MB / 484 MB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/0.5523, allocations: 16 kB / 484 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5523, allocations: 4 kB / 484 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.5524, allocations: 11.97 kB / 484 MB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009917/0.5623, allocations: 5.254 MB / 489.3 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5623, allocations: 4 kB / 489.3 MB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.5634, allocations: 256.2 kB / 489.5 MB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.5647, allocations: 454 kB / 489.9 MB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.5648, allocations: 47.97 kB / 490 MB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008859/0.5736, allocations: 7.316 MB / 497.3 MB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.5736, allocations: 8 kB / 497.3 MB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006819/0.5805, allocations: 3.583 MB / 0.4892 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.5819, allocations: 459.8 kB / 0.4896 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/0.5823, allocations: 32 kB / 0.4896 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.5835, allocations: 103.8 kB / 0.4897 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/0.5838, allocations: 116.7 kB / 0.4898 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.5839, allocations: 43.98 kB / 0.4899 GB, free: 6.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002291/0.5862, allocations: 1.291 MB / 0.4911 GB, free: 4.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5862, allocations: 0 / 0.4911 GB, free: 4.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002478/0.5887, allocations: 0.5429 MB / 0.4917 GB, free: 4.348 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.0005753/0.5893, allocations: 218.9 kB / 0.4919 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004749/0.594, allocations: 2.342 MB / 0.4942 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.594, allocations: 0 / 0.4942 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002814/0.5968, allocations: 1.459 MB / 0.4956 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.5995, allocations: 462.2 kB / 0.496 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6106, allocations: 5.217 MB / 0.5011 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.6131, allocations: 2.006 MB / 0.5031 GB, free: 8.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00176/0.6149, allocations: 427.7 kB / 0.5035 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.6153, allocations: 131.4 kB / 0.5036 GB, free: 7.875 MB / 430.1 MB Notification: Performance of SimCode: time 1.904e-06/0.6153, allocations: 3.938 kB / 0.5036 GB, free: 7.871 MB / 430.1 MB Notification: Performance of Templates: time 0.06173/0.6771, allocations: 29.33 MB / 0.5323 GB, free: 10.48 MB / 462.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.483379548415542]