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.00137/0.00137, allocations: 88.39 kB / 21.44 MB, free: 276 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.001518/0.001518, allocations: 164.2 kB / 24.71 MB, free: 3.543 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.319/1.319, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 3.984 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.761e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01291/0.01294, allocations: 10.04 MB / 309 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007651/0.02059, allocations: 3.707 MB / 312.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.02239, allocations: 67.56 kB / 312.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.02477, allocations: 0.8311 MB / 313.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.02881, allocations: 1.024 MB / 314.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.03027, allocations: 0.5264 MB / 315.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004669/0.03494, allocations: 3.334 MB / 318.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.03721, allocations: 1.394 MB / 319.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.04097, allocations: 2.136 MB / 322 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1566/0.1976, allocations: 1.556 MB / 323.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.1991, allocations: 386.8 kB / 324 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.2015, allocations: 0.6053 MB / 324.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.2031, allocations: 1.107 MB / 325.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002918/0.206, allocations: 1.186 MB / 326.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009522/0.2155, allocations: 5.101 MB / 332 MB, free: 17.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2155, allocations: 0 / 332 MB, free: 17.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2155, allocations: 1.625 kB / 332 MB, free: 17.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001793/0.2157, allocations: 2.438 kB / 332 MB, free: 17.66 MB / 302.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.009879/0.2256, allocations: 3.446 MB / 335.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2256, allocations: 13.05 kB / 335.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.2273, allocations: 428.6 kB / 335.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.2306, allocations: 1.68 MB / 337.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.2308, allocations: 190.7 kB / 337.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.2312, allocations: 251.1 kB / 337.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005921/0.2372, allocations: 3.371 MB / 341.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/0.2372, allocations: 14.77 kB / 341.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.2375, allocations: 101.4 kB / 341.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.2376, allocations: 116.5 kB / 341.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004353/0.242, allocations: 2.697 MB / 344.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.2559, allocations: 8.919 MB / 353.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.2576, allocations: 1.246 MB / 354.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.2591, allocations: 0.9821 MB / 355.4 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.2593, allocations: 56.94 kB / 355.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2593, allocations: 47.56 kB / 355.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=115): time 3.146e-06/0.2593, allocations: 0 / 355.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=134): time 0.01703/0.2764, allocations: 7.038 MB / 362.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.2764, allocations: 75.5 kB / 362.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.2792, allocations: 1.699 MB / 364.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.2793, allocations: 49.7 kB / 364.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.2803, allocations: 1.295 MB / 365.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.2807, allocations: 482.8 kB / 366.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005208/0.2812, allocations: 299.1 kB / 366.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2814, allocations: 301.1 kB / 366.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.2828, allocations: 0.8042 MB / 367.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.2847, allocations: 1.319 MB / 368.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/0.2882, allocations: 2.252 MB / 371.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.2882, allocations: 4 kB / 371.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005091/0.2933, allocations: 2.697 MB / 373.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.2933, allocations: 14.81 kB / 373.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.2933, allocations: 16 kB / 373.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.2944, allocations: 419 kB / 374.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.296, allocations: 403.7 kB / 374.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007111/0.3032, allocations: 5.486 MB / 380.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.3055, allocations: 115.9 kB / 380.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.3057, allocations: 75.98 kB / 380.3 MB, free: 11.07 MB / 334.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.002053/0.3077, allocations: 0.7942 MB / 381.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/0.3083, allocations: 190.8 kB / 381.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/0.3131, allocations: 2.282 MB / 383.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.3132, allocations: 12 kB / 383.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3132, allocations: 6.734 kB / 383.6 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.3132, allocations: 7.969 kB / 383.6 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009857/0.323, allocations: 4.527 MB / 388.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.3231, allocations: 4 kB / 388.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.3242, allocations: 252.9 kB / 388.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.3255, allocations: 469.1 kB / 388.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.3257, allocations: 39.97 kB / 388.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008744/0.3344, allocations: 6.886 MB / 395.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3344, allocations: 7.938 kB / 395.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006632/0.341, allocations: 3.469 MB / 399.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.3422, allocations: 369.9 kB / 399.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/0.3425, allocations: 31.98 kB / 399.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.3436, allocations: 99.89 kB / 399.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/0.3439, allocations: 124.5 kB / 399.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.3441, allocations: 40 kB / 399.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.3461, allocations: 1.153 MB / 401 MB, free: 6.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3461, allocations: 4 kB / 401 MB, free: 6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002075/0.3482, allocations: 0.543 MB / 401.6 MB, free: 5.457 MB / 350.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.0005355/0.3487, allocations: 221.2 kB / 401.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004394/0.3531, allocations: 2.267 MB / 404.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3531, allocations: 4 kB / 404.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.3558, allocations: 1.456 MB / 405.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.3579, allocations: 377.1 kB / 405.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.3673, allocations: 5.046 MB / 410.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.3693, allocations: 1.438 MB / 412.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001452/0.3707, allocations: 414.2 kB / 412.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.3712, allocations: 132.5 kB / 412.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3712, allocations: 0 / 412.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of Templates: time 0.05317/0.4243, allocations: 26.22 MB / 439.1 MB, free: 15.84 MB / 398.1 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=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: 5.631368454545736]