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.0009553/0.0009553, allocations: 81.08 kB / 22.99 MB, free: 1.5 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.001067/0.001067, allocations: 172.2 kB / 26.4 MB, free: 8.129 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.9514/0.9514, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.493e-06/1.493e-06, allocations: 0 / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.876e-05, allocations: 6.25 kB / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.00935/0.009369, allocations: 10.99 MB / 263.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006855/0.01622, allocations: 3.835 MB / 267.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.01771, allocations: 67.56 kB / 267.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.01933, allocations: 0.8272 MB / 268 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.02152, allocations: 1.024 MB / 269 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.02244, allocations: 0.5263 MB / 269.5 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.02543, allocations: 3.346 MB / 272.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.02712, allocations: 1.406 MB / 274.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.03069, allocations: 2.401 MB / 276.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.03295, allocations: 1.605 MB / 278.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005828/0.03353, allocations: 376 kB / 278.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.03465, allocations: 0.5932 MB / 279.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008056/0.03545, allocations: 1.075 MB / 280.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.03676, allocations: 1.173 MB / 281.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.03972, allocations: 2.764 MB / 284.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.03973, allocations: 0 / 284.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.03973, allocations: 0 / 284.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.367e-05/0.03977, allocations: 0 / 284.3 MB, free: 7.039 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.00408/0.04385, allocations: 3.498 MB / 287.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.04389, allocations: 15.98 kB / 287.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.04492, allocations: 0.6198 MB / 288.4 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.04654, allocations: 1.477 MB / 289.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.04665, allocations: 193.4 kB / 290.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.04691, allocations: 256.3 kB / 290.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.04944, allocations: 1.872 MB / 292.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/0.04949, allocations: 7.938 kB / 292.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.04964, allocations: 108 kB / 292.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-05/0.04974, allocations: 108.9 kB / 292.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.05082, allocations: 0.74 MB / 293.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009615/0.06044, allocations: 8.273 MB / 301.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/0.06132, allocations: 0.6411 MB / 302.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.06196, allocations: 462 kB / 302.5 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.06214, allocations: 52.97 kB / 302.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.06218, allocations: 50.39 kB / 302.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 4.338e-06/0.06218, allocations: 0 / 302.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.005959/0.06814, allocations: 2.845 MB / 305.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.06818, allocations: 72.66 kB / 305.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.0696, allocations: 1.418 MB / 307 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/0.06969, allocations: 49.7 kB / 307 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007956/0.07048, allocations: 1.391 MB / 308.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.07079, allocations: 495.8 kB / 308.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.07111, allocations: 309 kB / 309.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.07123, allocations: 480.7 kB / 309.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.07152, allocations: 191.8 kB / 309.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.07218, allocations: 0.8996 MB / 310.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.07361, allocations: 1.252 MB / 312 MB, free: 9.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.07362, allocations: 4 kB / 312 MB, free: 9.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002087/0.07571, allocations: 1.397 MB / 313.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.07574, allocations: 12 kB / 313.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.07576, allocations: 16 kB / 313.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.07639, allocations: 251.1 kB / 313.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.07718, allocations: 347.4 kB / 314 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.08101, allocations: 4.787 MB / 318.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.08215, allocations: 63.94 kB / 318.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.08224, allocations: 59.98 kB / 318.9 MB, free: 2.828 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.0006737/0.08292, allocations: 264.1 kB / 319.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.08326, allocations: 230.8 kB / 319.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.08478, allocations: 1.07 MB / 320.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.0848, allocations: 16 kB / 320.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.08481, allocations: 4 kB / 320.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.08482, allocations: 7.969 kB / 320.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.08911, allocations: 3.26 MB / 323.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.08911, allocations: 4 kB / 323.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.08965, allocations: 216.3 kB / 324 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006171/0.09027, allocations: 286.6 kB / 324.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.09033, allocations: 31.98 kB / 324.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/0.09416, allocations: 6.481 MB / 330.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.09416, allocations: 4 kB / 330.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.0964, allocations: 1.631 MB / 332.4 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.09741, allocations: 310.7 kB / 332.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.09756, allocations: 31.98 kB / 332.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.09808, allocations: 63.91 kB / 332.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.09827, allocations: 112.7 kB / 332.9 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.09833, allocations: 31.98 kB / 332.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008101/0.09914, allocations: 0.7896 MB / 333.7 MB, free: 3.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.09914, allocations: 0 / 333.7 MB, free: 3.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00167/0.1008, allocations: 0.5273 MB / 334.3 MB, free: 2.824 MB / 314.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003841/0.1012, allocations: 214.8 kB / 334.5 MB, free: 2.605 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.103, allocations: 1.325 MB / 335.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.103, allocations: 0 / 335.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.1043, allocations: 1.06 MB / 336.9 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.1057, allocations: 395 kB / 337.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.1123, allocations: 4.382 MB / 341.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.1129, allocations: 0.6571 MB / 342.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008344/0.1138, allocations: 230.4 kB / 342.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007208/0.1145, allocations: 462 kB / 343 MB, free: 9.848 MB / 330.7 MB Notification: Performance of SimCode: time 1.944e-06/0.1145, allocations: 0 / 343 MB, free: 9.848 MB / 330.7 MB Notification: Performance of Templates: time 0.1551/0.2696, allocations: 27.56 MB / 370.5 MB, free: 86.2 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.9237392148934305]