Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007888/0.0007889, allocations: 90.48 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 174.9 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.125/1.125, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002036/0.0002036, allocations: 9.281 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07129/0.0715, allocations: 50.41 MB / 352.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.009636/0.08117, allocations: 10.81 MB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.08683, allocations: 3.792 MB / 367.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.08802, allocations: 51.81 kB / 367.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.08969, allocations: 0.7344 MB / 367.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.09175, allocations: 0.8469 MB / 368.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.09258, allocations: 459.4 kB / 369.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.132/0.2246, allocations: 3.554 MB / 372.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/0.2276, allocations: 2.136 MB / 374.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.2293, allocations: 1.091 MB / 376 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.2316, allocations: 1.531 MB / 377.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004291/0.232, allocations: 162.4 kB / 377.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000977/0.233, allocations: 424.2 kB / 378.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007654/0.2338, allocations: 0.8082 MB / 378.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.235, allocations: 1.452 MB / 380.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.238, allocations: 4.03 MB / 384.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.238, allocations: 1.188 kB / 384.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.238, allocations: 4 kB / 384.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.131e-05/0.2381, allocations: 3.938 kB / 384.4 MB, free: 8.863 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.004807/0.2429, allocations: 2.96 MB / 387.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2429, allocations: 8.906 kB / 387.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.244, allocations: 411.8 kB / 387.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.2462, allocations: 1.792 MB / 389.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.2463, allocations: 190.2 kB / 389.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.2467, allocations: 260.7 kB / 390 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004382/0.251, allocations: 3.261 MB / 393.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.2511, allocations: 6.734 kB / 393.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.2513, allocations: 102.3 kB / 393.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.2514, allocations: 121.1 kB / 393.4 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.255, allocations: 2.73 MB / 396.2 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.2677, allocations: 10.44 MB / 406.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.2698, allocations: 1.792 MB / 408.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.2713, allocations: 1.077 MB / 409.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.2716, allocations: 206.6 kB / 409.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2716, allocations: 47.56 kB / 409.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.336e-06/0.2716, allocations: 0 / 409.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01585/0.2875, allocations: 7.768 MB / 417.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2876, allocations: 64.72 kB / 417.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.2899, allocations: 1.873 MB / 419.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.29, allocations: 45.7 kB / 419.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007688/0.2908, allocations: 1.25 MB / 420.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.2912, allocations: 460 kB / 421.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.2913, allocations: 137.6 kB / 421.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.2914, allocations: 309.1 kB / 421.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.2927, allocations: 0.8335 MB / 422.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.2942, allocations: 1.329 MB / 423.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.2971, allocations: 2.289 MB / 426.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.2971, allocations: 4 kB / 426.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00416/0.3013, allocations: 2.841 MB / 428.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3013, allocations: 12 kB / 428.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3013, allocations: 16 kB / 428.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008488/0.3022, allocations: 421.5 kB / 429.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.3035, allocations: 411.6 kB / 429.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005024/0.3086, allocations: 5.303 MB / 435.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.3099, allocations: 135.8 kB / 435.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.31, allocations: 75.94 kB / 435.3 MB, free: 12.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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.001189/0.3112, allocations: 0.7885 MB / 436.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.3115, allocations: 201.5 kB / 436.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.3152, allocations: 2.425 MB / 438.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.3153, allocations: 16.08 kB / 438.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3153, allocations: 8 kB / 438.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.3153, allocations: 7.969 kB / 438.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007294/0.3226, allocations: 5.32 MB / 444 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3226, allocations: 6.719 kB / 444 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/0.3236, allocations: 266.4 kB / 444.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3246, allocations: 453.8 kB / 444.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.3247, allocations: 39.98 kB / 444.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005915/0.3306, allocations: 6.731 MB / 451.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3307, allocations: 11.47 kB / 451.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/0.3355, allocations: 3.635 MB / 455.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/0.3361, allocations: 450.6 kB / 455.6 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.3364, allocations: 35.98 kB / 455.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.3374, allocations: 115.9 kB / 455.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.3376, allocations: 104 kB / 455.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-05/0.3377, allocations: 43.98 kB / 455.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001576/0.3393, allocations: 1.294 MB / 457.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3393, allocations: 0 / 457.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001563/0.3409, allocations: 0.5502 MB / 457.7 MB, free: 5.645 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (115): * Single equations (assignments): 110 * 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.0003708/0.3413, allocations: 235.4 kB / 458 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003356/0.3446, allocations: 2.446 MB / 460.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3446, allocations: 0.5 kB / 460.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.3468, allocations: 1.529 MB / 461.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.3494, allocations: 427.9 kB / 462.4 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007238/0.3566, allocations: 6.414 MB / 468.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.3581, allocations: 1.995 MB / 470.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.3586, allocations: 139.4 kB / 470.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3586, allocations: 0 / 470.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of Templates: time 0.06185/0.4204, allocations: 69.67 MB / 0.5279 GB, free: 2.816 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches