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.0008936/0.0008936, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0009622/0.0009622, allocations: 156.9 kB / 25.45 MB, free: 9.352 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.9205/0.9205, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.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 1.583e-06/1.583e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.535e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.008587/0.008612, allocations: 10.04 MB / 309.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.0152, allocations: 3.703 MB / 313.5 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.0172, allocations: 67.56 kB / 313.5 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.01926, allocations: 0.8233 MB / 314.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.02243, allocations: 1.032 MB / 315.4 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.02364, allocations: 0.5264 MB / 315.9 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.02726, allocations: 3.326 MB / 319.2 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.02925, allocations: 1.398 MB / 320.6 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.03264, allocations: 2.132 MB / 322.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.03514, allocations: 1.562 MB / 324.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009104/0.03605, allocations: 388 kB / 324.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.03735, allocations: 0.6048 MB / 325.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009725/0.03832, allocations: 1.11 MB / 326.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.04028, allocations: 1.189 MB / 327.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.04519, allocations: 5.102 MB / 332.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.04519, allocations: 0 / 332.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.0452, allocations: 0 / 332.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001458/0.04534, allocations: 4 kB / 332.7 MB, free: 5.715 MB / 314.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.006055/0.0514, allocations: 3.452 MB / 336.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.05145, allocations: 15.98 kB / 336.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.05239, allocations: 426.7 kB / 336.6 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.05479, allocations: 1.662 MB / 338.3 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.05491, allocations: 193.4 kB / 338.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/0.05521, allocations: 248.3 kB / 338.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.05966, allocations: 3.38 MB / 342.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.606e-05/0.05971, allocations: 7.953 kB / 342.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.05988, allocations: 108 kB / 342.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.06, allocations: 116.9 kB / 342.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.06362, allocations: 2.693 MB / 345 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.157/0.2206, allocations: 8.916 MB / 353.9 MB, free: 56.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.2234, allocations: 1.245 MB / 355.2 MB, free: 56.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.2249, allocations: 0.9723 MB / 356.1 MB, free: 56.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.2251, allocations: 52.41 kB / 356.2 MB, free: 56.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2252, allocations: 47.53 kB / 356.2 MB, free: 56.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 4.348e-06/0.2252, allocations: 1.219 kB / 356.2 MB, free: 56.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=134): time 0.01176/0.2369, allocations: 7.053 MB / 363.3 MB, free: 54.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.237, allocations: 66.12 kB / 363.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.2391, allocations: 1.698 MB / 365 MB, free: 53.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.2392, allocations: 47.11 kB / 365.1 MB, free: 53.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.2397, allocations: 1.287 MB / 366.4 MB, free: 53.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.24, allocations: 488.1 kB / 366.9 MB, free: 52.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.2403, allocations: 296.7 kB / 367.1 MB, free: 52.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.2403, allocations: 313 kB / 367.4 MB, free: 52.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007917/0.2411, allocations: 0.8081 MB / 368.3 MB, free: 52.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009433/0.242, allocations: 1.312 MB / 369.6 MB, free: 51.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.2437, allocations: 2.249 MB / 371.8 MB, free: 49.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.2438, allocations: 7.094 kB / 371.8 MB, free: 49.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002775/0.2465, allocations: 2.701 MB / 374.5 MB, free: 48.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2466, allocations: 12 kB / 374.5 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2466, allocations: 16 kB / 374.6 MB, free: 48.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.2471, allocations: 421.4 kB / 375 MB, free: 47.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.2479, allocations: 395.3 kB / 375.4 MB, free: 47.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.2509, allocations: 5.469 MB / 380.8 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.2521, allocations: 133 kB / 381 MB, free: 41.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.2522, allocations: 71.98 kB / 381 MB, free: 41.59 MB / 330.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.001102/0.2533, allocations: 0.7889 MB / 381.8 MB, free: 40.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.2536, allocations: 186.8 kB / 382 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.2557, allocations: 2.285 MB / 384.3 MB, free: 38.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.2557, allocations: 16 kB / 384.3 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2557, allocations: 7.938 kB / 384.3 MB, free: 38.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.2557, allocations: 10.16 kB / 384.3 MB, free: 38.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.2606, allocations: 4.547 MB / 388.9 MB, free: 33.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.2606, allocations: 9.125 kB / 388.9 MB, free: 33.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.2611, allocations: 247.6 kB / 389.1 MB, free: 33.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006459/0.2617, allocations: 468.2 kB / 389.6 MB, free: 32.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.2618, allocations: 31.98 kB / 389.6 MB, free: 32.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.2653, allocations: 6.888 MB / 396.5 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2653, allocations: 11.94 kB / 396.5 MB, free: 25.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.2686, allocations: 3.468 MB / 400 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/0.2693, allocations: 362.7 kB / 400.3 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.2695, allocations: 28 kB / 400.3 MB, free: 21.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.2701, allocations: 107.9 kB / 400.5 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.2702, allocations: 117.3 kB / 400.6 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.2703, allocations: 43.98 kB / 400.6 MB, free: 21.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.2714, allocations: 1.154 MB / 401.8 MB, free: 20.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2714, allocations: 0 / 401.8 MB, free: 20.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00156/0.273, allocations: 0.5377 MB / 402.3 MB, free: 19.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.000374/0.2733, allocations: 231.7 kB / 402.5 MB, free: 19.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.2757, allocations: 2.263 MB / 404.8 MB, free: 17.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2757, allocations: 7.938 kB / 404.8 MB, free: 17.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.277, allocations: 1.446 MB / 406.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.2782, allocations: 385.2 kB / 406.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.2839, allocations: 5.087 MB / 411.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/0.2849, allocations: 1.423 MB / 413.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/0.2853, allocations: 132.5 kB / 413.3 MB, free: 8.695 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2853, allocations: 8 kB / 413.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of Templates: time 0.05622/0.3416, allocations: 70.22 MB / 483.5 MB, free: 2.332 MB / 394.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=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: 9.570541335269809]