Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002091/0.002091, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00255/0.00255, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 59.7 kB / 307.7 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.105, allocations: 50.55 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01443/0.1195, allocations: 11.5 MB / 369.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1574/0.2769, allocations: 3.933 MB / 373.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.2785, allocations: 60.62 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.2805, allocations: 0.8344 MB / 374.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.2827, allocations: 0.9508 MB / 375.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2838, allocations: 0.5103 MB / 376 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.2869, allocations: 3.207 MB / 379.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.2895, allocations: 2.585 MB / 381.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.2916, allocations: 1.44 MB / 383.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.294, allocations: 1.82 MB / 385 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006413/0.2946, allocations: 386.5 kB / 385.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.296, allocations: 0.6069 MB / 386 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.297, allocations: 1.066 MB / 387.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.2989, allocations: 1.728 MB / 388.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004459/0.3033, allocations: 5.001 MB / 393.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3034, allocations: 0 / 393.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3034, allocations: 0 / 393.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.3035, allocations: 0 / 393.8 MB, free: 2.328 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.007776/0.3113, allocations: 3.495 MB / 397.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3113, allocations: 8.781 kB / 397.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.3132, allocations: 444.1 kB / 397.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.3169, allocations: 1.806 MB / 399.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.3171, allocations: 197.6 kB / 399.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003868/0.3175, allocations: 250.1 kB / 400 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005918/0.3235, allocations: 3.245 MB / 403.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-05/0.3236, allocations: 15.83 kB / 403.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/0.3238, allocations: 114.2 kB / 403.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.324, allocations: 112.9 kB / 403.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004999/0.329, allocations: 2.697 MB / 406.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/0.3469, allocations: 10.38 MB / 416.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.3495, allocations: 1.77 MB / 418.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.3515, allocations: 1.055 MB / 419.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.3518, allocations: 205.5 kB / 419.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3518, allocations: 48.12 kB / 419.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=115): time 3.346e-06/0.3518, allocations: 0 / 419.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=134): time 0.0192/0.3711, allocations: 7.429 MB / 427.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3711, allocations: 64.72 kB / 427.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.3743, allocations: 1.889 MB / 429 MB, free: 1.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.3744, allocations: 49.7 kB / 429.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.3755, allocations: 1.246 MB / 430.3 MB, free: 448 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/0.376, allocations: 470.1 kB / 430.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004998/0.3765, allocations: 295.3 kB / 431.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3767, allocations: 305.1 kB / 431.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.3782, allocations: 0.812 MB / 432.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.3801, allocations: 1.312 MB / 433.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003577/0.3837, allocations: 2.255 MB / 435.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.3837, allocations: 8 kB / 435.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005344/0.389, allocations: 2.789 MB / 438.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.3891, allocations: 14.97 kB / 438.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.3891, allocations: 16 kB / 438.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.3902, allocations: 422.5 kB / 439 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.3917, allocations: 399.3 kB / 439.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007009/0.3987, allocations: 5.791 MB / 445.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.4006, allocations: 143.6 kB / 445.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.4008, allocations: 68 kB / 445.4 MB, free: 0.6484 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.001476/0.4023, allocations: 0.7889 MB / 446.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004554/0.4027, allocations: 193.7 kB / 446.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.4073, allocations: 2.395 MB / 448.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/0.4074, allocations: 16 kB / 448.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.4074, allocations: 7.984 kB / 448.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.4074, allocations: 7.922 kB / 448.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009719/0.4171, allocations: 5.282 MB / 454 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.4172, allocations: 12.44 kB / 454.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.4183, allocations: 255.6 kB / 454.3 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4195, allocations: 454 kB / 454.7 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.4197, allocations: 43.98 kB / 454.8 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008365/0.428, allocations: 7.345 MB / 462.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4281, allocations: 4 kB / 462.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006403/0.4345, allocations: 3.579 MB / 465.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.4356, allocations: 446.6 kB / 466.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/0.4359, allocations: 36.11 kB / 466.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.4372, allocations: 99.89 kB / 466.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.4375, allocations: 112.7 kB / 466.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.4376, allocations: 43.98 kB / 466.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002236/0.4399, allocations: 1.299 MB / 467.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4399, allocations: 0 / 467.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002211/0.4421, allocations: 0.5391 MB / 468.3 MB, free: 9.031 MB / 382.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.0005464/0.4427, allocations: 227.9 kB / 468.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005878/0.4485, allocations: 2.984 MB / 471.5 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.4486, allocations: 4 kB / 471.5 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.4513, allocations: 1.511 MB / 473 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.4538, allocations: 446.2 kB / 473.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009322/0.4632, allocations: 5.208 MB / 478.6 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/0.4651, allocations: 1.995 MB / 480.6 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/0.4659, allocations: 151.3 kB / 480.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4659, allocations: 3.938 kB / 480.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of Templates: time 0.2433/0.7092, allocations: 70.34 MB / 0.5382 GB, free: 146.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches