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.001371/0.001371, allocations: 75.77 kB / 22.46 MB, free: 2.094 MB / 18.57 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.001668/0.001668, allocations: 165 kB / 25.75 MB, free: 8.539 MB / 18.57 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 0.9713/0.9713, allocations: 158.6 MB / 187.5 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",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.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.454e-05, allocations: 2.312 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.009621/0.009646, allocations: 11.24 MB / 262.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006517/0.01616, allocations: 3.851 MB / 266.2 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.0177, allocations: 71.5 kB / 266.3 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.01955, allocations: 0.8156 MB / 267.1 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.02225, allocations: 1.024 MB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.02333, allocations: 0.5302 MB / 268.7 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.0266, allocations: 3.346 MB / 272 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.02821, allocations: 1.398 MB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.03093, allocations: 2.156 MB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.03317, allocations: 1.68 MB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008386/0.03401, allocations: 388 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.03507, allocations: 0.6049 MB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.03587, allocations: 1.133 MB / 279.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.03777, allocations: 1.196 MB / 280.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.04214, allocations: 2.815 MB / 283.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.04215, allocations: 0 / 283.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.04215, allocations: 0 / 283.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001495/0.0423, allocations: 4 kB / 283.4 MB, free: 7.344 MB / 266.7 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.005792/0.04809, allocations: 3.635 MB / 287 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.04815, allocations: 15.98 kB / 287 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.0494, allocations: 0.6276 MB / 287.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.05172, allocations: 1.552 MB / 289.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.05185, allocations: 189.4 kB / 289.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/0.05213, allocations: 256.3 kB / 289.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.05534, allocations: 2.044 MB / 291.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.05539, allocations: 0 / 291.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.05555, allocations: 104 kB / 291.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.05567, allocations: 120.9 kB / 291.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.05758, allocations: 0.9228 MB / 292.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.06779, allocations: 8.516 MB / 301.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.06882, allocations: 0.6653 MB / 302 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.06961, allocations: 0.4982 MB / 302.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.0698, allocations: 60.97 kB / 302.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.06983, allocations: 50.33 kB / 302.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 3.537e-06/0.06983, allocations: 0 / 302.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.0067/0.07653, allocations: 3.623 MB / 306.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.07657, allocations: 68.72 kB / 306.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.07814, allocations: 1.473 MB / 307.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.07822, allocations: 49.7 kB / 307.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.07892, allocations: 1.368 MB / 309.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.07922, allocations: 499.9 kB / 309.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.07954, allocations: 305.1 kB / 310 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.07965, allocations: 476.8 kB / 310.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.0801, allocations: 255.8 kB / 310.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.08085, allocations: 0.9623 MB / 311.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.08217, allocations: 1.354 MB / 313 MB, free: 8.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.08218, allocations: 4 kB / 313 MB, free: 8.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002248/0.08443, allocations: 1.538 MB / 314.5 MB, free: 6.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.08445, allocations: 12 kB / 314.6 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.08447, allocations: 15.94 kB / 314.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.08507, allocations: 267 kB / 314.8 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.08588, allocations: 387.4 kB / 315.2 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.08927, allocations: 4.931 MB / 320.1 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.09023, allocations: 111.8 kB / 320.3 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.09033, allocations: 71.98 kB / 320.3 MB, free: 0.8203 MB / 298.7 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.0007109/0.09104, allocations: 264.1 kB / 320.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.0914, allocations: 238.7 kB / 320.8 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.09323, allocations: 1.179 MB / 322 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.09326, allocations: 16 kB / 322 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.09326, allocations: 8 kB / 322 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.09328, allocations: 7.969 kB / 322 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.09789, allocations: 3.429 MB / 325.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.09789, allocations: 4 kB / 325.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.09846, allocations: 243.6 kB / 325.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007462/0.09921, allocations: 311.1 kB / 326 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.09929, allocations: 39.97 kB / 326 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.1033, allocations: 6.736 MB / 332.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1034, allocations: 11.94 kB / 332.8 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.1058, allocations: 1.788 MB / 334.6 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/0.1064, allocations: 342.6 kB / 334.9 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.1066, allocations: 35.98 kB / 334.9 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.1072, allocations: 95.83 kB / 335 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.1074, allocations: 124.6 kB / 335.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.1074, allocations: 43.98 kB / 335.2 MB, free: 1.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.1086, allocations: 0.8797 MB / 336.1 MB, free: 392 kB / 314.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1086, allocations: 0 / 336.1 MB, free: 392 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.001593/0.1102, allocations: 0.5352 MB / 336.6 MB, free: 15.84 MB / 330.7 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.0003848/0.1106, allocations: 222.7 kB / 336.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.1125, allocations: 1.428 MB / 338.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.1125, allocations: 6 kB / 338.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.1136, allocations: 1.142 MB / 339.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.1146, allocations: 389.4 kB / 339.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.1203, allocations: 4.448 MB / 344.2 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.1208, allocations: 0.6455 MB / 344.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000706/0.1216, allocations: 346.2 kB / 345.2 MB, free: 6.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.1218, allocations: 124.5 kB / 345.3 MB, free: 6.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1218, allocations: 0 / 345.3 MB, free: 6.84 MB / 330.7 MB Notification: Performance of Templates: time 0.1358/0.2576, allocations: 26.4 MB / 371.7 MB, free: 89.05 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9634794669691473]