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.0009694/0.0009694, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.00146/0.00146, allocations: 168.6 kB / 25.33 MB, free: 8.523 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 1.014/1.014, allocations: 158.6 MB / 187.2 MB, free: 2.922 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 2.074e-06/2.074e-06, allocations: 0 / 251.1 MB, free: 7.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.943e-05/4.151e-05, allocations: 6.25 kB / 251.1 MB, free: 7.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01088/0.01092, allocations: 11.31 MB / 262.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008826/0.01975, allocations: 3.847 MB / 266.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.02254, allocations: 71.5 kB / 266.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.0252, allocations: 0.8233 MB / 267.1 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.02924, allocations: 1.04 MB / 268.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.03076, allocations: 0.5263 MB / 268.7 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005193/0.03595, allocations: 3.338 MB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.03833, allocations: 1.402 MB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004949/0.04328, allocations: 2.39 MB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.0461, allocations: 1.609 MB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.04702, allocations: 379.9 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.04827, allocations: 0.5893 MB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.04911, allocations: 1.075 MB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.05089, allocations: 1.169 MB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.05472, allocations: 2.772 MB / 283.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.05474, allocations: 0 / 283.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.05474, allocations: 0 / 283.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001245/0.05486, allocations: 0 / 283.4 MB, free: 7.059 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.00514/0.06, allocations: 3.581 MB / 287 MB, free: 3.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.06006, allocations: 11.98 kB / 287 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.06129, allocations: 0.6237 MB / 287.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.06388, allocations: 1.563 MB / 289.2 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.06402, allocations: 193.4 kB / 289.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.06433, allocations: 252.3 kB / 289.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.06784, allocations: 2.032 MB / 291.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/0.0679, allocations: 15.89 kB / 291.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.06805, allocations: 99.98 kB / 291.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.06816, allocations: 124.9 kB / 291.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.07008, allocations: 0.9072 MB / 292.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.08096, allocations: 8.364 MB / 301.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.08201, allocations: 0.7115 MB / 301.9 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.08272, allocations: 0.5058 MB / 302.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.08289, allocations: 64.95 kB / 302.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.08294, allocations: 50.39 kB / 302.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 3.557e-06/0.08294, allocations: 0 / 302.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.006734/0.08968, allocations: 3.526 MB / 306 MB, free: 15.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.08972, allocations: 72.66 kB / 306.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.0913, allocations: 1.469 MB / 307.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.09137, allocations: 45.7 kB / 307.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007586/0.09213, allocations: 1.372 MB / 309 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.09244, allocations: 495.8 kB / 309.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.09276, allocations: 309.1 kB / 309.8 MB, free: 12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.09287, allocations: 480.8 kB / 310.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.09332, allocations: 247.8 kB / 310.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/0.09409, allocations: 0.9584 MB / 311.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.09586, allocations: 1.342 MB / 312.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.09587, allocations: 8 kB / 312.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002407/0.09828, allocations: 1.526 MB / 314.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.09831, allocations: 12 kB / 314.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.09834, allocations: 16.28 kB / 314.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006681/0.09901, allocations: 269.6 kB / 314.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.0998, allocations: 383.4 kB / 315 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.1041, allocations: 4.918 MB / 319.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.1053, allocations: 103.9 kB / 320 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.1054, allocations: 72 kB / 320.1 MB, free: 0.832 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.0008428/0.1062, allocations: 260.2 kB / 320.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006259/0.1069, allocations: 242.7 kB / 320.5 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.1089, allocations: 1.163 MB / 321.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.1089, allocations: 19.98 kB / 321.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.1089, allocations: 8 kB / 321.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.109, allocations: 3.984 kB / 321.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.1142, allocations: 3.378 MB / 325.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.1142, allocations: 4.625 kB / 325.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.1148, allocations: 231.7 kB / 325.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007094/0.1155, allocations: 294.7 kB / 325.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/0.1156, allocations: 39.97 kB / 325.7 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.1196, allocations: 6.643 MB / 332.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.1196, allocations: 15.88 kB / 332.3 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.1223, allocations: 1.78 MB / 334.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.1228, allocations: 322.7 kB / 334.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.123, allocations: 39.92 kB / 334.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.1235, allocations: 79.92 kB / 334.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.1237, allocations: 120.6 kB / 334.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.1237, allocations: 47.92 kB / 334.7 MB, free: 1.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009755/0.1247, allocations: 0.864 MB / 335.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1247, allocations: 0 / 335.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001416/0.1261, allocations: 0.5352 MB / 336.1 MB, free: 88 kB / 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.0003747/0.1265, allocations: 218.8 kB / 336.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.1284, allocations: 1.431 MB / 337.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1284, allocations: 4.062 kB / 337.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.1294, allocations: 1.115 MB / 338.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.1306, allocations: 381.3 kB / 339.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007019/0.1377, allocations: 4.434 MB / 343.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.1384, allocations: 0.6533 MB / 344.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000859/0.1392, allocations: 338.2 kB / 344.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.1395, allocations: 120.5 kB / 344.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.1395, allocations: 0 / 344.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of Templates: time 0.1509/0.2904, allocations: 26.53 MB / 371.3 MB, free: 84.84 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.823901270981878]